antlr4 XPLNLexer.g4
antlr4 XPLNParser.g4
javac XPLN*.java Application.java
After running the command below copy the test files in the folder and press CTRL+D to end the input.
Test1.txt General test for the language it should'nt return any error
Test2.txt It should return there is no return in the function error
Test3.txt It should return there is no return in the program error
java Application.java