Andreas Rozek      

Acquainting - a systematic approach to LuaJava programming

This page contains an overview of the author's first activities with LuaJava 1.0b3. The list of Java classes and Lua scripts provide a somewhat systematic approach to the specialities of LuaJava and deal with many issues of interfacing these two languages.
 

Please, also consider my "Hints for Reading" and the "List of Recent Changes".
(Problems displaying this page? Ugly graphics? Please, click here)

Overview

The list of topics given below directly guides you to the desired information - just click on a topic of your choice:

  • LuaJava - the author's own runtime environment for LuaJava scripts

High-Level LuaJava (no explicit usage of LuaState)

  • LuaJava_00 - a first, simple LuaJava script
  • LuaJava_01 - intermixed access to stdout/stderr (from within Lua and Java)
  • LuaJava_02 - conversion of Lua values into a string within Java
     
  • LuaJava_03 - first attempts to access fields and methods of Java classes and instances
     
  • LuaJava_04 - what are the "natural" Java equivalents of any Lua types?
  • LuaJava_05 - what are the "natural" Lua equivalents of any Java type?
  • LuaJava_06 - will the type of Lua arguments be preserved?
  • LuaJava_07 - can Java detect the original type of Lua arguments?
  • LuaJava_08 - will Java types be preserved while stored within Lua?
  • LuaJava_09 - what happens to Unicode strings (with non-zero codepage)?
     
  • LuaJava_10 - a first LuaJava "proxy" object (under construction)
  • LuaJava_11 - handling Java exceptions within Lua (under construction)
     
  • LuaJava_12 - invoking Java methods with arguments of type "LuaObject" (under construction)
  • LuaJava_13 - invoking Lua functions from within Java (under construction)
  • LuaJava_14 - handling Lua errors within Java (under construction)
     
  • LuaJava_15 - Lua "call-backs" invoked from within Java (under construction)
  • (more to come)

Low-Level LuaJava (explicit usage of LuaState)

  • LuaJava_20 - a first "JavaFunction" (under construction)
  • LuaJava_21 - analyzing number and type of invocation arguments (under construction)
  • LuaJava_22 - returning values of any (Lua) type (under construction)
  • LuaJava_23 - returning multiple (Lua) values (under construction)
     
  • LuaJava_24 - a first Lua "library" implemented in Java (under construction)
     
  • LuaJava_25 - executing a Lua script (under construction)
  • LuaJava_26 - handling Lua errors within Java (under construction)
  • (more to come)

Source Code

The complete source code of all Java classes and Lua scripts presented above may be downloaded free of charge as a single ZIP archive:

  • LuaJava.zip (ZIP archive, ### bytes) (under construction)

Disclaimer

Please, also consider the author's Disclaimer!


http://www.Andreas-Rozek.de/LuaJava/Acquainting/index_en.html    (last Modification: 14.11.2004)