wryun / es-shell

es: a shell with higher-order functions
http://wryun.github.io/es-shell/
Other
313 stars 26 forks source link

Fix syntax-handling bugs #69

Closed jpco closed 10 months ago

jpco commented 11 months ago
; '%closure ()'

was a segfault; now is a syntax error exception. Fixes #68

; () x

was an assertion error; now is not an error at all (the null term is just thrown away). Fixes #63

; let (n = '%closure (x = y) echo $x') {$n}

printed y y before; now correctly prints y. Fixes #57