WIP fs impl

This commit is contained in:
2026-02-10 17:48:36 +01:00
parent c0d965be26
commit 9c5e4a3d5b
6 changed files with 842 additions and 83 deletions

View File

@@ -73,7 +73,7 @@ local function dofile(file)
status("> " .. file)
local program, reason = raw_loadfile(file)
if program then
local result = table.pack(pcall(program))
local result = table.pack(xpcall(program, debug.traceback))
if result[1] then
return table.unpack(result, 2, result.n)
else