[antlr-interest] ANTLR3ea+ANTLWorks is *really cool*, but how do I insert PythonTokenStream.java

Terence Parr parrt at cs.usfca.edu
Mon Jul 11 12:06:06 PDT 2005


On Jul 10, 2005, at 10:49 PM, Elden Crom wrote:
> Or the like into the token stream to make it Indention Sensitive?
> (like python http://www.antlr.org/grammar/1078018002577/python.tar.gz)

Damn good question.  I forgot that the Python crew needs indented  
actions...that sucks.  Hmm...I guess I'll have to look at what they  
did for 2.x and add to 3.x :)

> Or does (will?) the 3.0 grammar support indention more directly now?

Perhaps Marq Kole can tell me exactly what he needs and I can add :)

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com



More information about the antlr-interest mailing list