Skip to content

Commit 5c01eea

Browse files
committed
Prefix all internal Fennel compiler module names with nfnl.
1 parent d439796 commit 5c01eea

File tree

3 files changed

+37
-31
lines changed

3 files changed

+37
-31
lines changed

lua/nfnl/fennel.lua

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[tools]
2+
sd = "latest"
3+
14
[tasks.fetch-fennel]
25
run = "bash script/fetch-fennel"
36

script/fetch-fennel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ chmod +x script/fennel.lua
99

1010
# Compiler / library
1111
curl https://fennel-lang.org/downloads/$FNL_NAME.lua >lua/nfnl/fennel.lua
12+
13+
# Embedify the Fennel library by replacing `fennel.*` with `nfnl.fennel.*`.
14+
sd '"fennel\.' '"nfnl.fennel.' lua/nfnl/fennel.lua

0 commit comments

Comments
 (0)