qwertie / ecsharp

Home of LoycCore, the LES language of Loyc trees, the Enhanced C# parser, the LeMP macro preprocessor, and the LLLPG parser generator.
http://ecsharp.net
Other
172 stars 25 forks source link

Reference-free parser #27

Closed asbjornu closed 8 years ago

asbjornu commented 8 years ago

Is it possible to use LLLPG to generate a parser that has no external references (i.e. is self-contained)? If not, please consider this a feature request! :smile:

qwertie commented 8 years ago

Yes, there is an example of such a parser here: https://github.com/qwertie/LLLPG-Release/tree/master/CalcExample-Standalone

asbjornu commented 8 years ago

Excellent, thanks!

qwertie commented 8 years ago

Actually that's not so much "an" example as "THE" example, since the standalone ParserSource and LexerSource are not published anywhere else. Happy parsing!

asbjornu commented 8 years ago

:smile: :+1: