I'm looking for additional examples of using PetitParser beyond PPArithmeticParser and PPLambdaParser that are provided in the tests package and a couple of blog posts by Lukas? If anyone's willing to share theirs, it would be much appreciated.
Updated: https://github.com/NicolasPetton/jtalk/blob/master/st/parser.st
Updated: https://github.com/dmatveev/waste/blob/master/wastex.st
Keep 'em coming!
Have a look at the official PetitParser code repository, there are many grammars ready to download:
Additionally you find various PetitParser grammars on SqueakSource. Just search for 'PetitParser' as a keyword and you find more or less complete grammars for Java, JavaScript, Ada, SQL, and some others.
There are a lot of small nice examples on PetitParsers Google+ site.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With