java -jar antlr-4.12.0-complete.jar -Dlanguage=Python3 -visitor Calculator.g4
- Install Python and conda, and create a isolated python environment
antlr
- Install python modules listed in
requirements.txt
- Launch calculator by type command
python MyVisitor.py
- Just enjoy it.