Skip to content

Call Lua methods directly from Kotlin, converts types, and has callback support

License

Notifications You must be signed in to change notification settings

hobbycommandline/LuaBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LuaBridge

  • Call Lua methods directly from Kotlin
  • Converts argument and response types
  • Lua Callback functions allow you to pass callbacks from Lua to Kotlin and call them.
  • Expose a set of @JVMStatic methods to Lua that you define.
  • Example usage in Hobby-Voice-Command-Line

Security

I haven't fully checked to ensure you can't call the API incorrectly and cause a crash yet, but in normal execution everything works well.

Setup

You just need to unpack lua-5.4.4 as ./lua-bridge/lua-5.4.4.

About

Call Lua methods directly from Kotlin, converts types, and has callback support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published