Is there a python parser generator that is similar to JavaCC from webgain?
Fernando Pereira
pereira at cis.upenn.edu
Sun Feb 24 08:44:05 EST 2002
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