[antlr-interest] Grammar for lexing/parsing Python
tjuergeleit at yahoo.de
Mon Jul 29 07:51:05 PDT 2002
anything left you are willing to share ;-)?
Lexing is totally fine for me.
--- mzukowski at yci.com wrote:
> I figured out how to lex it properly (doing the
> INDENT/DEDENT stuff) then
> drifted into Java work and never finished the
> > -----Original Message-----
> > From: Terence Parr [mailto:parrt at jguru.com]
> > Sent: Sunday, July 28, 2002 10:22 AM
> > To: antlr-interest at yahoogroups.com
> > Subject: Re: [antlr-interest] Grammar for
> lexing/parsing Python
> > I believe Monty was working on one. Monty?
> > Ter
> > On Saturday, July 27, 2002, at 08:23 AM, Torsten
> Juergeleit wrote:
> > > Hi,
> > >
> > > does anyone know about an ANTLR grammar for a
> > > lexer/parser?
> > >
> > > 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
> > > Jython (JavaCC-based Python parser) for parsing
> > > visit Jython's internal AST to collect the
> > > information.
> > >
> > > An ANTLR-based lexer/parser with embedded Java
> code to
> > > collect the information necessary for an outline
> > > while lexing/parsing seems to be more efficient
> > > visiting a full-blown AST.
> > --
> > Co-founder, http://www.jguru.com
> > Creator, ANTLR Parser Generator:
> > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> Your use of Yahoo! Groups is subject to
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