Closed monkey-w1n5t0n closed 4 months ago
The first two evaluate fine, the third errors with malformed program:
(+ 1 2 3) (+ 1 2 3) (+ 1 2 3)
It seems that the parser receives the string truncated at the second newline, so it tries to parse (+ 1 2 and 3) separately.
(+ 1 2
3)
Fixed here.
The first two evaluate fine, the third errors with malformed program:
It seems that the parser receives the string truncated at the second newline, so it tries to parse
(+ 1 2
and3)
separately.