Overview of Kahlua Virtual Machine
masterKahlua is a Lua-compatible Virtual Machine and standard library implemented entirely in Java. It is designed to emulate Lua behavior by reverse-engineering Lua features (using the Lua reference manual and PiL as guides) rather than direct porting.
Key characteristics:
- Target Platform: Optimized for J2ME (CLDC 1.1), making it suitable for mobile environments, but also compatible with standard Java (J2SE/J2EE).
- Integration: Designed for easy integration into J2ME projects. For J2SE/J2EE environments, note that Kahlua lacks a built-in Lua compiler, so a standalone Lua compiler must be used.
- Goals: Focuses on a small class file footprint, fast runtime for common operations, and high test coverage while maintaining Lua-standard behavior.