Updated to Lua 5.5
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
LuaJ is a Java implementation of Lua with JSE and JME targets.
|
||||
|
||||
This fork is maintained by Open Autonomous Connection and is built with Maven only. The current codebase targets Lua 5.4 semantics in the supported runtime paths, including the recent work around `<close>`, `<const>`, updated weak-table behavior, binary chunk compatibility, and library alignment.
|
||||
This fork is maintained by Open Autonomous Connection and is built with Maven only. The current codebase targets Lua 5.5 semantics in the supported runtime paths, including `global`, named vararg tables, read-only `for` variables, `table.create`, updated `utf8.offset`, binary chunk compatibility, and the existing Lua 5.4 `<close>` and `<const>` behavior.
|
||||
|
||||
## Modules
|
||||
|
||||
@@ -80,8 +80,9 @@ For the core VM without the JSE platform layer:
|
||||
|
||||
- LuaJ runs on the host JVM garbage collector. Resource cleanup is not equivalent to native Lua finalization.
|
||||
- Explicit close is still the correct pattern for files, iterators, and host-backed resources.
|
||||
- `LuaJC` is available on JSE and covered by the current Maven test path.
|
||||
- `LuaJC` is available on JSE and covered by the current Maven test path. For 5.5-only constructs that the legacy bytecode generator does not model directly, it falls back to generated delegate wrappers over `LuaClosure`.
|
||||
- JME support remains in the Maven build, with environment-specific limitations depending on available Java ME APIs.
|
||||
- The repository currently passes `.\mvnw.cmd -q clean test`.
|
||||
|
||||
## Examples
|
||||
|
||||
@@ -92,10 +93,6 @@ Relevant examples are in:
|
||||
- `examples/lua`
|
||||
- `examples/maven`
|
||||
|
||||
## Status
|
||||
|
||||
Current implementation notes for the Lua 5.4 work are tracked in `LUA54_STATUS.md`.
|
||||
|
||||
## License
|
||||
|
||||
This project is distributed under the terms in `LICENSE`.
|
||||
|
||||
Reference in New Issue
Block a user