Kiss VSCode runtime Kiss evaluation
This commit is contained in:
@@ -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) -> {
|
||||
|
@@ -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 []
|
||||
|
Reference in New Issue
Block a user