[antlr-interest] Re: Python 2.3.3 grammar posted
Terence Parr
parrt at cs.usfca.edu
Sun Feb 29 22:00:47 PST 2004
On Feb 29, 2004, at 8:50 PM, edcjones wrote:
> --- 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.
>
ooops! Did i do an "indent-region" in emacs and then have it format
that comment? Damn...
Ter
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