mitranim/jisp

Support multi-line expressions in `elif` tests

Opened this issue · 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.