An experimental Java library for embedding a Lua VM.
This project allows executing Lua scripts from a Java application. It uses Foreign Function & Memory API (JEP 454) for accessing the Lua C API.
Lua source code is checked in lua/src/. The following files are patched compared to the original version:
- Added
lua/src/all_lua.h - Modified
lua/src/Makefileto build Lua as a shared library.
To speedup repeated builds, add org.gradle.caching=true to ~/.gradle/gradle.properties.
Build scripts generate native interface classes in build/generated/sources/jextract using Jextract. Scripts download and cache Jextract automatically during the build.
./gradlew dependencyUpdates./gradlew check