bomberpac/main.lua

22 lines
494 B
Lua

-- bootstrap the compiler
fennel = require("lib.fennel")
debug.traceback = fennel.traceback
table.insert(package.loaders, fennel.make_searcher({correlate=true}))
fv = fennel.view
pp = function(x) print(fv(x)) end
lume = require("lib.lume")
_coroutine_resume = coroutine.resume
function handle_error(ok, ...)
if not ok then
error(...)
end
return ok, ...
end
function coroutine.resume(...)
return handle_error(_coroutine_resume(...))
end
require("vendor.lite.main")
require("wrap")