[antlr-interest] ANTLR lexer for Python?

mhahndeqo mark at pycs.org
Sat Sep 11 11:15:03 PDT 2004


I'm trying to implement a lexer for Python's indentation scheme and 
I'm beginning to believe it's impossible. I need to detect 
indentation levels and emit indent and dedent tokens.  ANTLR seems to 
have no way for me to tell line position.

Has anyone done anything like this?  Anyone got any ideas?




 
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