Interpreter for PoC-Languages "Loop" and "While"
Go to file
2023-12-27 23:23:57 +01:00
.idea add while support 2023-12-27 23:23:57 +01:00
lib project setup 2023-12-23 12:05:35 +01:00
src add while support 2023-12-27 23:23:57 +01:00
.gitignore project setup 2023-12-23 12:05:35 +01:00
pom.xml first working version (just LOOP) 2023-12-23 23:29:43 +01:00
README.md add while support 2023-12-27 23:23:57 +01:00
WHILEParser.jar add while support 2023-12-27 23:23:57 +01:00

Run the interpreter

java -jar WHILEParser.jar <whileprogram> <x1Value> <x2Value> ...

Build it yourself

create parser with antlr

antlr4 -package parser.grammar -o main/java/parser/grammar -no-listener -visitor Loop.g4

create executable

mvn clean compile assembly:single