This week I’m not showing any new code for the parser generator I’ve described it the previous parts…
After making my PEG parser generator self-hosted in the last post, I’m now ready to show how to implement various other PEG features.
[This is part 8 of my PEG series. See the Series Overview for the rest.]
This week we make the parser generator “self-hosted”, meaning the parser generator generates its own parser.
[This is part 7 of my PEG series. See the Series Overview for the rest.]
My series of blog posts about PEG parsing keeps expanding. Instead of updating each part to link to all other…
Grammars are better if you also can add (some) semantics inline with the grammar rules. In particular, for the Python parser I’m building I need to control the AST node returned by each alternative, since the AST format is given.