Basic Antlr4 Example
To run this example, first install dependencies with poetry:
poetry installThen use poetry to run some commands (not sure if antlr4 needs to be installed or not):
poetry shell
antlr4 -visitor -Dlanguage=Python3 Expr.g4
python Driver.py input.txtThe output should be something like:
-1.0