jisp icon indicating copy to clipboard operation
jisp copied to clipboard

Support multi-line expressions in `elif` tests

Open mitranim opened this issue 11 years ago • 0 comments

This is related to issue #20: execution order control. Right now, <test> in (elif <test> <body>) can only be a single JS expression, the compiler throws an error if it compiles to multiple lines. We should check if those multiple lines can be included as comma-separated expressions, and when not, include them as self-executing lambdas or reference calls.

mitranim avatar Jul 11 '14 19:07 mitranim