Writing a Parser

0ffh frank at youknow.what.todo.interNETz
Sat Jan 5 01:05:57 PST 2008


Jascha Wetzel wrote:
> Dan wrote:
>> I've been messing with how to write a parser, and so far I've played 
>> with numerous patterns before eventually wanting to cry.
>>  [...]
>> I have it doing that, but my soul feels heavy with the masses of 
>> looped switches it's doing.  Is there any way to ease the pain?
> 
> a parser generator :)
> [...]

Or a parsing combinator library. :)

And it's always nice to roll your own, if you have the extra time.
Not only to have, but to know.

regards, frank


More information about the Digitalmars-d-learn mailing list