You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated code is pretty ugly and 3.7 is EOL in a year so I would not suggest merging it, but if anyone else is unfortunate enough to need python 3.7 support they might find this handy.
The text was updated successfully, but these errors were encountered:
Update: implroved the implementation, now it should be faster + generated code is more beautiful, additional variables such as __last are not used anymore
I have a patch to make pegen generate parsers that work in python 3.7, primarily by not using the walrus operator: https://github.com/ahupp/pegen/tree/python37
The generated code is pretty ugly and 3.7 is EOL in a year so I would not suggest merging it, but if anyone else is unfortunate enough to need python 3.7 support they might find this handy.
The text was updated successfully, but these errors were encountered: