Skip to content

banshay/wzrd-language

 
 

Repository files navigation

Prerequisites

  1. Install GraalVM (https://github.com/graalvm/graalvm-ce-builds/releases)
  2. Set GraalVM installation as JAVA_HOME
  3. run mvn clean package -Pbuild
  4. With any Unix shell, run ./wzrd <File Ending in .wzrd> ex. ./wzrd samples/Addition.wzrd

Disclaimer

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

Noteworthy

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.

About

A simple example language built using the Truffle API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 86.0%
  • Shell 11.5%
  • ANTLR 1.6%
  • Slash 0.9%