Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Lexer and GLR parser generator

Project Description

PyGgy is a python package for generating parsers and lexers in python. The PyGgy distribution contains two tools:

PyLly - (Pronounced “pile-ey”) A lexer generator that generates
DFA tables for lexing tokens.
PyGgy - (Pronounced “piggy”) A parser generator that generates
SLR tables for a GLR parsing engine.

The PyLly program is used to pregenerate tables for a finite state machine from a lexer specification. There is a lexer engine that uses the tables to tokenize an input stream.

The PyGgy program is used to pregenerate parser tables from a parser specification. There is a GLR parsing engine that uses the tables to parse a stream of input tokens. Because GLR parsing is used, the parser can deal with arbitrary grammars, even if they are recursive or ambiguous.

Release History

Release History

This version
History Node

0.3

History Node

0.1

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting