How do I regenerate the parser?
Ki11erRabbit opened this issue · 2 comments
Ki11erRabbit commented
I am using this library for a research project that requires me to modify the grammar of Python. I have been stuck trying to regenerate the parser since I am not sure what is means to "Run lalrpop src/python.lalrpop."
Any help is appreciated.
Thank you.
youknowone commented
The source file is here: https://github.com/RustPython/Parser/blob/main/parser/src/python.lalrpop
You can install lalrpop the compiler from cargo. (cargo install lalrpop)
Ki11erRabbit commented
Thank you for your help.