[antlr-interest] Grammar for lexing/parsing Python

Torsten Juergeleit tjuergeleit at yahoo.de
Sat Jul 27 08:23:24 PDT 2002


does anyone know about an ANTLR grammar for a Python

I'm working on a Python-aware text editor
(syntax-highlight, outline view) plugin for the
Eclipse IDE.
My current approach for the outline view is to use
Jython (JavaCC-based Python parser) for parsing and
visit Jython's internal AST to collect the outline

An ANTLR-based lexer/parser with embedded Java code to
collect the information necessary for an outline view
while lexing/parsing seems to be more efficient than
visiting a full-blown AST.


Do You Yahoo!?
Yahoo! Health - Feel better, live better


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

More information about the antlr-interest mailing list