This is the source code for the Reimu Interpreter.
A brief summary of the language can be found here
You need Maven and java 10 or later.
Clone this repo and navigate to the root directory;
Then run:
mvn packageYou should then have ./target/reimu-{version}-jar-with-dependencies.jar. This is your interpreter.
Once you have the interpreter jar file, simply run it with source files as the input.
java -jar ./target/reimu-{version}-jar-with-dependencies.jar ./src_files/test.reiOr you can run it without source files, and access an interactive shell
java -jar ./target/reimu-{version}-jar-with-dependencies.jar- variables
- functions
- c style for loops
- for each loop
- arrays
- int
- float/double
- string
- boolean
- casting
- type system
- threading
- math casting (in cast)/(out cast)