Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release files for lemonade 1.0b4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lemonade 1.0b4
File Size Uploaded
lemonade-1.0b4.tar.gz 31.1 kB Details

Release files / lemonade-1.0b4.tar.gz

Download URL lemonade-1.0b4.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
032a2a841c89cb8ce5460e2f28cd2dc7ad814e01fb4628926b54d497024c75f5
BLAKE2b-256 checksum
How to use checksums
77f562a564445a69b42fcb6e62b8b690d5f11a83eaa1cf16ca16bbf6d6a5fba6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page