Artifact cd4574d2475fe694a2309a020d809e85f5b4a8e5:
- File bindings/s2/unit/002-000-eval.s2 — part of check-in [fdc5e1014e] at 2021-02-11 12:42:23 on branch trunk — Moved C++ and s2 bindings to bindings/{cpp,s2}. Got the C++ bindings compiling for new gcc breakage and new, stricter T-card validation. (user: stephan size: 478)
- File s2/unit/002-000-eval.s2 — part of check-in [f063fd4f0f] at 2021-02-08 06:15:57 on branch trunk — Updated s2 and brought old fossil bindings up to date wrt cwal/s2 changes made since then. Core s2 unit tests are inexplicably failing with a bogus(?) OOM report with this shell build, but they work in the core s2 tree and libf unit tests are passing. (user: stephan size: 478)
assert undefined === eval -> {}; assert undefined === eval -> ''; assert 3 === eval {1 * 3}; assert 3 === eval -> {1 * 3}; assert '3 + 1' === eval "3 + 1"; assert 4 === eval -> "3 + 1"; assert eval {2+2} === eval -> "3 + 1"; assert '3 * 2+1; 0' === eval => { 3 * 2+1; 0 }; assert '3 * 2+1' === eval => 3 * 2+1 ; assert 7 === eval-> eval =>3*2+1; assert 2 === eval -> eval { 1; 2 }; assert undefined === eval -> eval {}; assert undefined === eval -> eval { 1; 2;; };