Kiss VSCode runtime Kiss evaluation

This commit is contained in:
2021-03-18 16:20:09 -06:00
parent fc0030f343
commit 931d489c70
2 changed files with 2 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ class Main {
// TODO use this to implement runAtRuntime() for sys targets by running a haxe subprocess
static macro function macroMain():Expr {
var k = Kiss.defaultKissState();
k.wrapListExps = false;
if (Sys.args().indexOf("--all") != -1) {
var kissInputStream = Stream.fromString(Sys.stdin().readAll().toString());
Reader.readAndProcess(kissInputStream, k, (readerExp) -> {

View File

@@ -466,6 +466,7 @@
num 3
l1 ["a" "b" "c"]
l2 [1 2 3]]
// string interpolation:
(Assert.equals "it's 3asy as [a,b,c] [1,2,3]" "$str ${num}asy as $l1 $l2")))
(defun _testArrowLambdas []