Forums WoW Modding Support Archives Azerothcore Discord Archives [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

[DiscordArchive] This is pretty silly, but I'm trying to write an Eluna script using Fennel. I've followed the "Embed

rektbyfaith
Administrator
0
01-19-2022, 09:27 AM
#1
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&]
rektbyfaith
01-19-2022, 09:27 AM #1

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&]

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)