skip to navigation
skip to content

Not Logged In

lemonade 1.0b1

Port of the LEMON Parser Generator

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

    http://www.hwaci.com/sw/lemon/

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

    lemonade gram.y

The above command generates "gram.py", which you can include in your
project.

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:

    http://www.hwaci.com/sw/lemon/lemon.html

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
 
File Type Py Version Uploaded on Size
lemonade-1.0b1.tar.gz (md5) Source 2012-08-29 29KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 32 downloads in the last week
  • 220 downloads in the last month