[antlr-interest] Python 2.3.3 grammar posted

Terence Parr parrt at cs.usfca.edu
Sat Feb 28 17:43:07 PST 2004


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.

License is BSD.

Terence
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing





 
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