add json and file read

This commit is contained in:
2023-03-12 23:34:33 +00:00
parent 4619f1c278
commit 7220d12fb6
11 changed files with 256 additions and 6 deletions

View File

@@ -67,6 +67,8 @@ func runVal(line any, stack stack, stacklevel int) (any, ArErr) {
return runIfStatement(x, stack, stacklevel+1)
case whileLoop:
return runWhileLoop(x, stack, stacklevel+1)
case CreateArray:
return runArray(x, stack, stacklevel+1)
case bool:
return x, ArErr{}
case nil: