The thin Java binding for the IntentumDiff engine
(intentumdiff-core), built on
java.lang.foreign (FFM): downcalls to the engine's stable C ABI (intentumdiff_call /
intentumdiff_free), zero functional work in the binding.
try (IntentumDiff engine = IntentumDiff.load(Path.of(lib))) {
String envelope = engine.callRaw("version", "[]");
}Build + smoke (JDK 21 uses FFM as preview; final from JDK 22):
javac --release 21 --enable-preview -d out src/dev/intentumdiff/*.java
java --enable-preview -cp out dev.intentumdiff.Smoke $INTENTUMDIFF_CORE_LIBScaffold status: raw-envelope API (no JSON dependency yet); a typed layer lands as the
binding grows. Authored fresh for the #82 split; the monorepo
(buchochelliq-labs/intentumdiff) remains the archive of record. License: MIT.