ANTLR is capable of generating parsers for a number of programming languages:
C# Target
Python Target
JavaScript Target
Java Target
By default ANTLR will generate a parser from commandline in the Java programming language :
Java -jar antlr-4.5.3-complete.jar yourGrammar.g4 //Will output a
...
After running your grammar .g4 file with ANTLR.jar you should have a number of files generated such as :
1.yourGrammarNameListener.py
2.yourGrammarNameParser.py
3.yourGrammarName.tokens
...
To use these in a python project include the Python runtime in your workspace so any application you ar...