~technomancy/antifennel

ref: baabd1dc9b610c28f65328324d9377309fd43ed2 antifennel/anticompiler.fnl -rw-r--r-- 6.7 KiB
Track tail calls and hack in early returns.

Milestone accomplished: SELF-HOSTING.
Fix bugs in assigning and returning multivals.
Support function definitions that set earlier bindings.
Handle nil ASTs.
Handle empty branches in ifs.
Fix assignment and operators.
Clarify limitations; fix a couple bugs.
Sometimes if should compile to when; sometimes it should omit do.
Support multiple values in local declaration.
Coverage of almost all AST nodes.
Successfully compiling id_generator.lua and reader.lua
Initial commit; kinda working on a limited subset.