

The SimpleLanguage project has been tested with IntelliJ IDEA. In order to upload SimpleLanguage to NetBeans interface, proceed to File -> Open Project -> select simplelanguage folder -> check Open Required Projects -> open Project.

NetBeans provides GUI support for debugging arbitrary languages.

Execute mvn package from the SimpleLanguage folder to build the language.Set the JAVA_HOME and PATH environment variables to the GraalVM home and bin folders using a command-line shell for Linux:įor macOS, use: export JAVA_HOME=/path/to/graalvm/Contents/HomeĮxport PATH=/path/to/graalvm/Contents/Home/bin:$PATH.Clone the SimpleLanguage repository using:.To start, ensure Maven3 and GraalVM are available in your system. It aims to use most of the available Truffle language implementation framework (henceforth “Truffle”) features, and documents their use extensively with inline source documentation. The SimpleLanguage project provides a showcase on how to use the Language APIs for writing your own language.

SimpleLanguage is a demonstration language built using the Language API. We have found that the easiest way to get started with implementing your own language is by extending an existing language such as SimpleLanguage.
