- Cleaned up call stack - Fixed builtin function execution - Fixed lambda execution - Fixed call parsing
325 B
325 B
f = (x) 2 * x g = (h) (x) h(h(x))
f(2) => 4 g(f)(2) => 8
CALL argc: 1 argv: [ 2 ] to: CALL argc: 1 argv: [ VREF name: f ] to: VREF name: g fname: NULL
expression + arguments = call = expression expression + parameters = lambda = expression expression + name = variable = expression