Interpreter for PoC-Languages "Loop" and "While"
Go to file
2023-12-23 23:29:43 +01:00
.idea first working version (just LOOP) 2023-12-23 23:28:37 +01:00
lib project setup 2023-12-23 12:05:35 +01:00
src first working version (just LOOP) 2023-12-23 23:29:43 +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 first working version (just LOOP) 2023-12-23 23:28:37 +01:00
WHILEParser.jar first working version (just LOOP) 2023-12-23 23:28:37 +01:00

Run the interpreter

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

Build it yourself

parse with antlr

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

create executable

mvn clean compile assembly:single