https://github.com/reity/imparse
Lightweight infinite-lookahead Python parser generator that supports basic grammars defined in a JSON format.
https://github.com/reity/imparse
Last synced: 2 months ago
JSON representation
Lightweight infinite-lookahead Python parser generator that supports basic grammars defined in a JSON format.
- Host: GitHub
- URL: https://github.com/reity/imparse
- Owner: reity
- License: mit
- Created: 2020-05-09T03:49:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T03:58:19.000Z (about 5 years ago)
- Last Synced: 2025-01-23T12:30:30.471Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=======
imparse
=======Lightweight infinite-lookahead parser generator that supports basic grammars defined in a JSON format.
.. image:: https://badge.fury.io/py/imparse.svg
:target: https://badge.fury.io/py/imparse
:alt: PyPI version and link.Purpose
-------
This library makes it possible to rapidly assemble and deploy a parser for a simple language. It is intended primarily for languages that have an `LL grammar `_.Package Installation and Usage
------------------------------
The package is available on PyPI::python -m pip install imparse
The library can be imported in the usual ways::
import imparse
from imparse import *