GraalVM as a Platform
GraalVM is an open ecosystem and allows users to implement a custom language or tool on top of it with the Truffle language implementation framework which offers APIs for writing interpreters for programming languages in the form of Java programs.
GraalVM loads and runs the Truffle framework, which itself is a Java program – a collection of JAR files – together with interpreters. These get optimized at runtime into efficient machine code for executing loaded programs.
Learn more about this framework from its reference documentation.
Implement Your Language #
With the Language API offered by the Truffle framework, you can implement a language interpreter on top of GraalVM.
To get started, proceed to Implement Your Language.
Implement Your Tool #
With the Instrument API offered by the Truffle framework, you can create language-agnostic tools like debuggers, profilers, or other instruments on top of GraalVM.
To get started, proceed to Implement Your Tool.