natecraddock / ziglua

Zig bindings for the Lua C API
MIT License
224 stars 32 forks source link

luau loading script. #81

Open Lightnet opened 1 month ago

Lightnet commented 1 month ago

I did try to use require or from import from luau. It crashed. I wonder if the file in script loading or not enable?

local foo require "foo"

I found LuaJIT and lua 5.-1 -5.4 is not working on 0.12.0. Found there compile option does not exist function I think.

Windows 10 64bit.

natecraddock commented 1 month ago

Sorry for the delay on this, I've been swamped the last month. I'll take a closer look later today / over the next few days and get back to you