Using ANTLR4 With Ubuntu
- Download Ubuntu18ANTLR.ova
and load it into VirtualBox.
- Log in using the default password, "osboxes.org".
- Open a Terminal window (if one isn't open).
cd adder
antlr -Dlanguage=Python3 adder.g4
py adder.py
You will probably get the warning messages
ANTLR runtime and generated code versions disagree: 4.8!=4.5.3
This has to do with a mismatch between libraries; you can ignore it.