[Pyparsing] Can I use pyparsing to parse Python?
Brought to you by:
ptmcg
From: Moti Ben-A. <mot...@gm...> - 2015-04-02 08:21:33
|
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 |