Skip to main content

Pure-Python replacement of `org.antlr.v4.gui.TestRig` (aka `grun`)

Project description

Pure-Python replacement of the antlr test rig, org.antlr.v4.gui.TestRig (aka grun).

There are a few places this executable differs in the interest of better or more Pythonic design. For example,

  • I use click’s conventions for CLI argument parsing, which have a double-dash for long-options, rather than Java’s convention, which have a single-dash.

  • I use JSON strings to escape source lexemes. This is more elegant and is easily parsed in whatever next phase of processing exists.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

antlr4-grun-0.4.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

antlr4_grun-0.4.1-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page