`:let` is parsed as NODE_EXCMD (not NODE_LET)
tyru opened this issue · 3 comments
tyru commented
Problem
letis parsed as
(excmd "let")
Expected
(let)
tyru commented
let varis also
(excmd "let var")
tyru commented
let varshould be
(let () var)
because the second argument of assignment :let node is operator.
compiler should not allow arbitrary variable name here (() means nil).
let n = 42(let = a 42)