"JCA" == James C Ahlstrom firstname.lastname@example.org writes:
JCA> So how about re-writing the Python grammar in YACC in JCA> order to use its more advanced features?? The simple JCA> YACC grammar I wrote for 1.5.2 plus an altered tokenizer.c JCA> parsed the whole Lib/*.py in a couple seconds vs. 30 JCA> seconds for the first file using Aaron Watters' Python JCA> lint grammar written in Python.
I've been wanting to check out Antlr (www.antlr.org) because it gives us the /possibility/ to use the same grammar files for both CPython and JPython. One problem though is that it generates Java and C++ so we'd be accepting our first C++ into the core if we went this route.