Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Java 8 port

Prerequisites:

Command line example:

  • first copy the two grammar files and the example.py to this directory:

Linux:

    cp ../*.g4
    cp ../example.py

Windows:

    copy ..\*.g4
    copy ..\example.py
antlr4 PythonLexer.g4
antlr4 PythonParser.g4
javac *.java
java grun4py.java example.py
grun Python file_input -gui example.py

Related link:

ANTLR4 Java target