[DiscordArchive] This is pretty silly, but I'm trying to write an Eluna script using Fennel. I've followed the "Embed
[DiscordArchive] This is pretty silly, but I'm trying to write an Eluna script using Fennel. I've followed the "Embed
![[Image: unknown.png?ex=690c69fc&is=690b187c&hm=3...9cbeff1bc&]](https://cdn.discordapp.com/attachments/448835144564867094/933291544964911104/unknown.png?ex=690c69fc&is=690b187c&hm=36a79b14541d9abfbb9dcc80eceec5488ff6b943960b3d0f1cd69699cbeff1bc&)
Archived author: Gøran • Posted: 2022-01-19T09:27:23.999000+00:00
Original source
This is pretty silly, but I'm trying to write an Eluna script using Fennel. I've followed the "Embedding the Fennel compiler in a Lua application" steps on their website https://fennel-lang.org/setup:
```lua
local fennel = require("fennel")
table.insert(package.loaders or package.searchers, fennel.searcher)
require("wrap")
```
but even so, `require` doesn't seem to be searching for `fnl` files, as seen in the screenshot.
Does anyone have any ideas why this might be?
![[Image: unknown.png?ex=690c69fc&is=690b187c&hm=3...9cbeff1bc&]](https://cdn.discordapp.com/attachments/448835144564867094/933291544964911104/unknown.png?ex=690c69fc&is=690b187c&hm=36a79b14541d9abfbb9dcc80eceec5488ff6b943960b3d0f1cd69699cbeff1bc&)