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 Provenance Actions
lemonade-1.0b4.tar.gz 31.1 kB Without provenance Details for lemonade-1.0b4.tar.gz

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

Security for lemonade 1.0b4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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