VBA targeted antlr4 parsing classes.
Project description
antlr4-vba
antlr4-vba is a package of the Lexer and Parser created by antlr with the command antlr4 -Dlanguage=Python3 -listener -visitor vba.g4
. The project also includes the empty listener and visitor classes, which are largely useless on their own, but good as reference.
Similarly, there are grammar, lexer, and parser files which implement the conditional compilation process of VBA.
Installation
The project can be installed with python -m pip install antlr4-vba
Typing stubs
The project also includes typed stubs for mypy. These stubs are autogenerated by stubgen, so they may be incomplete. Please let me know if they do not meet your needs and I can manage them manually.
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
Built Distribution
File details
Details for the file antlr4_vba-0.0.62.tar.gz
.
File metadata
- Download URL: antlr4_vba-0.0.62.tar.gz
- Upload date:
- Size: 201.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd4adbe452a3c4beb26dca22891d5c5238731c0d585a28230ffc77c06bf280c |
|
MD5 | 810d11933529a90410d2afde2aa57e2c |
|
BLAKE2b-256 | 1822e26653c9372ca06e19a6efc4077e0f3bf58afc6366dd4e60e6a6012bd028 |
File details
Details for the file antlr4_vba-0.0.62-py3-none-any.whl
.
File metadata
- Download URL: antlr4_vba-0.0.62-py3-none-any.whl
- Upload date:
- Size: 212.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb58b4e82192f15175b52b8e361b0945e555f43034fa4b6e2d9faa9a25f98f2 |
|
MD5 | ed426e159c572a4fedf3b193f320dab1 |
|
BLAKE2b-256 | 6887fa2f0975a24dcf341fae057d64a728c63b1320bf9ec2a7bc2a63351e7e82 |