Streaming parsers in D a novel design

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Apr 19 18:17:44 UTC 2023


On Wednesday, 19 April 2023 at 16:15:53 UTC, Adam D Ruppe wrote:
> On Tuesday, 18 April 2023 at 08:13:05 UTC, Dmitry Olshansky 
> wrote:
>> This maps to D beautifully:
>
> I recently wrote a new stream class that works kinda like this 
> and thought about doing put() and front etc, but I wanted 
> heterogeneous types.
>
> Still, it kinda did work.
>
> https://github.com/adamdruppe/arsd/blob/master/core.d#L5040
>
> there's the test rn to show how it works


Cool stuff, as usual!

--
Dmitry Olshansky


More information about the Digitalmars-d mailing list