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

Port of the LEMON Parser Generator

Project Description

Lemonade is a Python port of the LEMON Parser Generator written by
D. Richard Hipp:

Lemonade can be used in the traditional fashion to create a standalone

lemonade gram.y

The above command generates "", which you can include in your

Since Python is a dynamic language, Lemonade could also enable client
software to generate a parser from a user-supplied .y file, and then
use the generated parser on the fly.

This is the beta release of Lemonade. There is no documentation yet.
You may find the original LEMON documentation helpful:

However, many of LEMON's "%" directives are irrelevant in Python;
therefore, they have been eliminated in Lemonade. Further, Lemonade
does not allow code fragments ("{}") within the grammar file.
Instead, the reduce actions are specified in a separate delegate
class. See the 'examples' directory for an example.

Leif Strand
August 28, 2012

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(30.3 kB) Copy SHA256 Hash SHA256
Source Aug 29, 2012

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