/imparse

Lightweight infinite-lookahead Python parser generator that supports basic grammars defined in a JSON format.

Primary LanguagePythonMIT LicenseMIT

imparse

Lightweight infinite-lookahead parser generator that supports basic grammars defined in a JSON format.

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 *