Function Declarations as Syntax Sugar
Rework the parser so function declarations are simply syntax sugar for assigning a lambda
example:
(fun foo (x) (+ x x))
should be parsed as
(let foo (lambda (x) (+ x x)))
Rework the parser so function declarations are simply syntax sugar for assigning a lambda
example:
(fun foo (x) (+ x x))
should be parsed as
(let foo (lambda (x) (+ x x)))