*** Tinylang ***
Tinylang is a tiny demonstration language for Truffle. The intention is to create the smallest possible useful Truffle language. This language is not intended for for production-use.
Important: You need Truffle 25.0-ea and a GraalVM JDK 25-ea to build and run this language.
*** Instructions ***
- Download latest GraalVM: https://www.graalvm.org/docs/reference-manual/
- Download IGV: https://www.oracle.com/downloads/graalvm-downloads.html
- set JAVA_HOME to the unpacked GraalVM home folder
- Clone this repository
git clone [email protected]:chumer/tinylang.git
- Maven or other IDE: Import Maven project into your IDE or build with
mvn package
. - Open IGV
- Run benchmarks on the JVM with
./tiny-jvm ./test/program1.tiny
. - Build for native with
./build-native
and then run withtiny-native ./test/program1.tiny
. - Build for web with
./build-web
and then use./start-web
to start a webserver serving the required files.