allow luaget/luaset/luacall to access tables and methods, improve type conversion, add bl.string, begin adding matrix

This commit is contained in:
Redo
2025-10-06 10:30:25 -05:00
parent 5f98dc017b
commit 76c758a47b
12 changed files with 223 additions and 94 deletions

View File

@@ -192,12 +192,6 @@ function require(mod)
return _bllua_requiresecure(mod)
end
-- Exposure to TS
function _bllua_getvar(name) return _G[name] end
function _bllua_setvar(name, val) _G[name] = val end
function _bllua_eval(code) return loadstring(code)() end
function _bllua_exec(fn) return dofile(fn, 2) end
local function isValidCode(code)
local f,e = loadstring(code)
return f~=nil