https://github.com/virresh/antlr-visitorexample
A sample example of Visitor endpoints of ANTLR
https://github.com/virresh/antlr-visitorexample
Last synced: over 1 year ago
JSON representation
A sample example of Visitor endpoints of ANTLR
- Host: GitHub
- URL: https://github.com/virresh/antlr-visitorexample
- Owner: virresh
- Created: 2018-05-13T13:08:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-26T17:37:38.000Z (about 8 years ago)
- Last Synced: 2025-01-19T08:27:57.527Z (over 1 year ago)
- Language: Python
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python3 source's parse tree generator
Uses [python3 antlr grammar](https://github.com/antlr/grammars-v4/blob/master/python3-py/Python3.g4)
Usage:
(after installing antlr4 runtime for python3)
```
python3 pyAntVisitor.py test.py
```
For building everything via script requires the grammar file Name as argument
```
./runMe.sh Python3.g4
```