~technomancy/fennel#142: 
antifennel: bad code generation

In antifennel

do
    local x = 4
end

compiles to:

(let [x 4])

which is unable to compile back into lua. I think when antifennel wants generate an empty let block, it instead put nil into the body so that the output can compile.

Status
RESOLVED FIXED
Submitter
~xerool
Assigned to
No-one
Submitted
6 months ago
Updated
5 months ago
Labels
No labels applied.

~technomancy REPORTED FIXED 5 months ago

Good catch! Just pushed a fix.

Register here or Log in to comment, or comment via email.