bakpakin / Fennel

Lua Lisp Language
https://fennel-lang.org
MIT License
2.43k stars 124 forks source link

A standalone compilation issue #487

Open noncom opened 2 hours ago

noncom commented 2 hours ago

Hello!

I tried to compile Fennel standalone, and on the latest commit 222e14c447977c23af6dc39a11e94f95b7bfa62c I'm getting:

D:\programming>make fennel.exe
FENNEL_PATH=src/?.fnl lua bootstrap/aot.lua src/launcher.fnl --require-as-include >> fennel
Compile error in 'macrodebug' src/fennel\binary.fnl:208: src/fennel/macros.fnl:338: attempt to call a boolean value (global 'view')
make: *** [Makefile:52: fennel] Error 1

I tried debugging this for a bit, but the error is super obscure, at least for me, so no luck.

I switched to the Release 1.5.1 commit ae60a38029a570b8d37fe3d7cc6b2476646e10f5, and that one compiled successfuly.

It would be great if the latest commit compilation would also work :)

noncom commented 2 hours ago

Hmm, I tried again now, on a fresh clone, but with the makefile modified for my environment, and it worked. I'm not sure why.. the only thing I was modifying before was sligtly tuning the makefile. I don't think that should have caused an error like that a few times in a row.

But now with a fully working makefile it just built Fennel 1.5.2-dev without problems, and it works. This is strange, but probably there's no issue then. I'll keep experimenting.