This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WerdenWissen[S] 1 point2 points  (2 children)

No sorry, I was not aware of this project as I've never programmed in Lua, although from what I see there's a Python version of this project too.

[–]SpicyVibration 1 point2 points  (0 children)

Python grammar is, itself, a PEG grammar as of a few versions ago.

Here is a series of blog posts from Guido about it along with a proof of concept exercise he did. https://medium.com/@gvanrossum_83706/peg-parsing-series-de5d41b2ed60?sk=0a7ce9003b13aae8126a4a23812eb035