[antlr-interest] Re: Python 2.3.3 grammar posted
edcjones
edcjones at yahoo.com
Sun Feb 29 20:50:45 PST 2004
--- In antlr-interest at yahoogroups.com, Terence Parr <parrt at c...> wrote:
> Howdy,
>
> Loring and I have finished a first attempt at a python grammar. It
> seems to grok all of jython 2.1's Lib directory (40k lines of Python).
> The whitespace/comments/newlines/indentation thing is a nightmare to
> implement, but I think it's right. Very close to Python 2.3.3
> distribution grammar (minus the wackiness in the lexer).
>
> http://www.antlr.org/grammar/1078018002577/python.tar.gz
>
> I'm happy to receive and incorporate fixes.
The examples in "PythonTokenStream.java" are missing their indents.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list