Registry / other / truffle-api

truffle-api

JSON →
library25.0.3javamavenunverified

Truffle API enables building high-performance language interpreters on the GraalVM platform.

<dependency> <groupId>org.graalvm.truffle</groupId> <artifactId>truffle-api</artifactId> <version>25.0.3</version> </dependency>
INSTALL
IMPORT
SIG · TRUFFLE-API
T
truffle-api
otherjavav25.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TruffleLanguage
com.oracle.truffle.api.TruffleLanguage

Minimal example creating a Truffle language context.

import com.oracle.truffle.api.TruffleLanguage; public class Example extends TruffleLanguage<Object> { @Override protected Object createContext(Env env) { return new Object(); } public static void main(String[] args) { System.out.println("Truffle language example"); } }
Debug
Known issues
breakingTruffle API is tightly coupled with GraalVM; not compatible with standard JVMs.
fix
Ensure your application runs on GraalVM.
affects: *
Upgrade
Version history
25.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
truffle-api — mvn dependency:get truffle-api · libregistry