D Template based paser generator in 137 loc
BCS
nothing at pathlink.com
Thu Jan 4 21:25:30 PST 2007
Chris Nicholson-Sauls wrote:
> BCS wrote:
>> This is a totaly template based system. No external utilities are
>> needed. (* the 137 loc is after removal of all unneeded line)
>>
[...]
>
> Quite impressive!
Thank you
> Find a way to implement optional/repeated items, and
> grouping, and you've got one heck of a tool there. (It's useful now,
> mind you, for simple grammars.)
>
> -- Chris Nicholson-Sauls
Yah, it sort of like a Turing machine. It can do any context free
grammar (I think) but some are a bit harder. One advantage of skipping
optional/repeated items is it make the Action rules easier for the user
to define.
More information about the Digitalmars-d-announce
mailing list