gudzpoz / luajava

Lua for Java on Windows, Mac OS X, Linux, Android. 5.1, 5.2, 5.3, 5.4, LuaJ or LuaJIT.
https://gudzpoz.github.io/luajava/
Other
122 stars 14 forks source link

Feat: More convenient grammar support #154

Closed fuqiuluo closed 5 months ago

fuqiuluo commented 5 months ago

I think the current API for Java operations is too complex, and the following operations can be achieved by modifying llex. c:

import "java.lang.System"

System.out.println("Hello wolrd~")

Reference project: https://github.com/nirenr/luaj

gudzpoz commented 5 months ago

No. This library is intended to be a lightweight wrapper around Lua C API, and maintaining a patch to Lua itself is simply out of scope.