ANTLeRinator
Project description
ANTLeRinator is a Python utility package to help keeping components of ANTLR v4 in sync.
Requirements
Install
The quick way:
pip install antlerinator
Alternatively, by cloning the project and running setuptools:
python setup.py install
Usage
A common form of ANTLeRinator’s usage:
import antlerinator
import argparse
import subprocess
parser = argparse.ArgumentParser()
parser.add_argument('--antlr', default=antlerinator.antlr_jar_path)
args = parser.parse_args()
if (args.antlr == antlerinator.antlr_jar_path):
antlerinator.install(lazy=True)
subprocess.call(['java', '-jar', args.antlr])
Should there be need for manual jar installation, a helper script is available:
antlerinator-install
Copyright and Licensing
Licensed under the BSD 3-Clause License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file antlerinator-4.7.1.post1.tar.gz.
File metadata
- Download URL: antlerinator-4.7.1.post1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.4.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57b470663b309f979b06a737e9e3616fa0fa36934a30e24356b880be68c893ec
|
|
| MD5 |
87c70c5057f81d9bf82454ef922abdc5
|
|
| BLAKE2b-256 |
cdc423aa0b5f74174e41cea76b222db6ca79a6146f4ebd543330f40ca7db31f0
|