Skip to content

JavaVienna/2025-04-07_truffle_metacompilation_tinylang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*** 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 ***

  1. Download latest GraalVM: https://www.graalvm.org/docs/reference-manual/
  2. Download IGV: https://www.oracle.com/downloads/graalvm-downloads.html
  3. set JAVA_HOME to the unpacked GraalVM home folder
  4. Clone this repository git clone [email protected]:chumer/tinylang.git
  5. Maven or other IDE: Import Maven project into your IDE or build with mvn package.
  6. Open IGV
  7. Run benchmarks on the JVM with ./tiny-jvm ./test/program1.tiny.
  8. Build for native with ./build-native and then run with tiny-native ./test/program1.tiny .
  9. Build for web with ./build-web and then use ./start-web to start a webserver serving the required files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 55.7%
  • Java 42.2%
  • Shell 1.9%
  • JavaScript 0.2%