parsers / lexers usable from Python and Java (and C++/C)?
mike at nospam.com
Thu Jun 26 01:40:40 CEST 2003
John J. Lee wrote:
> "Mike Rovner" <mike at nospam.com> writes:
>> John J. Lee wrote:
>>> Are there any parser / lexer generators useable from both CPython
>>> and Java?
>> PLY (http://systems.cs.uchicago.edu/ply/) implemented entirely in
>> Python, so it might be possible to use it from both implementations
>> of Python.
> No, I really did mean CPython and Java, not CPython and Jython.
Your goal is a little vague for me. Jython IS java.
> ... wrapping C++ (even generated C++) in an
> automated way without pain seems unlikely.
Take a look at boost.python pyste.
More information about the Python-list