Is there a python parser generator that is similar to JavaCCfrom webgain?

Shen Wang shenwang at ameritech.net
Sun Feb 24 15:08:23 EST 2002


Thanks, I will take a look.


"Fernando Pereira" <pereira at cis.upenn.edu> wrote in message
news:B89E5855.38AA%pereira at cis.upenn.edu...
> On 2/24/02 3:25 AM, in article
m3it8n9ti8.fsf at mira.informatik.hu-berlin.de,
> "Martin v. Loewis" <martin at v.loewis.de> wrote:
>
> > Fernando Pereira <pereira at cis.upenn.edu> writes:
> >
> >> JavaCC takes grammar specs (lexical patterns and rules) and produces a
> >> parser (a Java class) using a LL(k)-type of rule compilation (that is,
> >> deterministic recursive descent with lookahead).
> >
> > Ok, I guess the closest thing for Python like this is YAPPS:
> >
> > http://theory.stanford.edu/~amitp/Yapps/
>
> Close, but more limited. JavaCC allows k lookahead for k > 1, Yapps just k
=
> 1.
>
> -- F
>





More information about the Python-list mailing list