[Python-Dev] Python keywords (was Lockstep iteration !) (original) (raw)

Barry A. Warsaw bwarsaw@beopen.com
Mon, 14 Aug 2000 12:12:45 -0400 (EDT)


"BT" == Bill Tutt <billtut@microsoft.com> writes:

BT> This is an alternative approach that we should certainly
BT> consider. We could use ANTLR (www.antlr.org) as our parser
BT> generator, and have it generate Java for JPython, and C++ for
BT> CPython.  This would be a good chunk of work, and it's
BT> something I really don't have time to pursue. I don't even
BT> have time to pursue the idea about moving keyword recognition
BT> into the lexer.

BT> I'm just not sure if you want to bother introducing C++ into
BT> the Python codebase solely to only have one parser for CPython
BT> and JPython.

We've talked about exactly those issues internally a while back, but never came to a conclusion (IIRC) about the C++ issue for CPython.

-Barry