we-like-parsers / pegen

PEG parser generator for Python
https://we-like-parsers.github.io/pegen/
MIT License
150 stars 32 forks source link

data/python_parser.py out of sync with data/python.gram #61

Closed mw66 closed 2 years ago

mw66 commented 2 years ago

data/python.gram is updated 5 days ago, but not the data/python_parser.py

Since data/python_parser.py is generated, maybe we need a git hook to auto-gen data/python_parser.py whenever data/python.gram is updated.

BTW, the 1st release (0.1.0 Sep 6, 2021) is half year ago, are we planning to do a new release?

MatthieuDartiailh commented 2 years ago

I am personally not convinced we need to commit the generated parser but if we do it should up to date. Could you make a PR to take care of it ?

Regarding a new release, I would like to st least see #60 and a complete version of #41 or #48 in first.

mw66 commented 2 years ago

I agree generated files should not be checked in.

So, instead I add a demo target in Makefile to show how to use the tool.