Discussion:
[Pyparsing] Can I use pyparsing to parse Python?
Moti Ben-Ari
2015-04-02 08:21:26 UTC
Permalink
Hello,

I am working with a system that has its own simple programming language,
but I would like to construct a preprocessor that will translate a small
subset
of Python into this language. Can I use pyparsing to do this?

I found pythonGrammarParsing.py which seems that it might help,
but I couldn't find an explanation of how to use the bnfDefs to actually
parse a Python program.

Thanks
Moti

Loading...