- Install GraalVM (https://github.com/graalvm/graalvm-ce-builds/releases)
- Set GraalVM installation as JAVA_HOME
- run
mvn clean package -Pbuild
- With any Unix shell, run
./wzrd <File Ending in .wzrd>
ex../wzrd samples/Addition.wzrd
The Fork is the simplelanguage repository of GraalVM, I've used the scaffold of the simplelanguage for the language setup. All under language
is from WZRD and from me
Similar to the features in Kotlin, if
statements are expressions and yield their last statement as return value. The last expression in a block is it's returned value. As of right now, no return
keyword has been implemented.