Init fennel setup
This commit is contained in:
parent
9575795f2b
commit
8cc7a39d5a
6 changed files with 6817 additions and 1 deletions
11
fennel_bootstrap.lua
Normal file
11
fennel_bootstrap.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fennel = require("fennel")
|
||||
debug.traceback = fennel.traceback
|
||||
table.insert(package.loaders, function(filename)
|
||||
if love.filesystem.getInfo(filename) then
|
||||
return function(...)
|
||||
return fennel.eval(love.filesystem.read(filename), {env=_G, filename=filename}, ...), filename
|
||||
end
|
||||
end
|
||||
end)
|
||||
-- jump into Fennel
|
||||
require("main.fnl")
|
||||
Loading…
Add table
Add a link
Reference in a new issue