Skip to content

Lua on Windows, Mac OS X, Linux, Android, iOS and Ouya.

Notifications You must be signed in to change notification settings

tangerinagames/non.luajava

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

non.luajava

Build Status

Supported platforms

  • Windows
  • Linux
  • Mac OS X
  • Android (and Ouya)
  • iOS

About LuaJava

LuaJava is a scripting tool for Java. The goal of this tool is to allow scripts written in Lua to manipulate components developed in Java.

It allows Java components to be accessed from Lua using the same syntax that is used for accessing Lua`s native objects, without any need for declarations or any kind of preprocessing. LuaJava also allows Java to implement an interface using Lua. This way any interface can be implemented in Lua and passed as parameter to any method, and when called, the equivalent function will be called in Lua, and it's result passed back to Java.

Building

To compile and pack both natives and library, execute:

ant

This will create libs/ directory with build results.

Building natives

To compile and pack natives for all platforms:

ant natives

To only compile natives:

ant compile-natives

To only pack natives:

ant pack-natives

To clean natives

ant clean-natives

To compile or pack natives only for specified platform (for example for Linux), run specified ant target:

ant compile-linux
ant pack-linux

targets can be:

  • linux
  • windows
  • macosx
  • ios
  • android

Building library

To compile and pack java library:

ant library

To only compile java library:

ant compile-library

To only pack java library:

ant pack-library

To clean library

ant clean-library

Credits

This is mostly wrapper for LuaJava for cross-platform compatibility using also LibGDX SharedLibraryLoader for loading natives in cross-platform way.

About

Lua on Windows, Mac OS X, Linux, Android, iOS and Ouya.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 80.1%
  • C++ 10.6%
  • Java 9.2%
  • Makefile 0.1%