4 ms·
Hi there! Once you have lua running somewhere you're 90% of the way there. You can do AOT compilation which will output lua code via. fennel -c my-fennel-code.
by mattroelle 4y ago
Hi there! Once you have lua running somewhere you're 90% of the way there. You can do AOT compilation which will output lua code via.
fennel -c my-fennel-code.fnl
Or you can use the lua package api to automatically load .fnl files via require seamlessly:
local fennel = require("fennel")
table.insert(package.loaders or package.searchers, fennel.searcher)
Enjoy!