Add importing, lists and objects, and add basic functions (global and on values)

This commit is contained in:
Neemek 2025-03-10 16:23:16 +01:00
parent 449f7cd815
commit 634a4a2b61
Signed by: neemek
GPG key ID: 28360A8951CD0E9B
11 changed files with 919 additions and 60 deletions

View file

@ -267,6 +267,7 @@ func GetCompileTestData() map[string]CompileTestData {
StringValue("a"), StringValue("b"),
},
),
nil,
},
0,
},
@ -296,7 +297,9 @@ func GetCompileTestData() map[string]CompileTestData {
true,
},
&CallNode{
"a",
&ReferenceNode{
"a",
},
[]Node{},
false,
},
@ -321,6 +324,7 @@ func GetCompileTestData() map[string]CompileTestData {
NumberValue(1), StringValue("b"),
},
),
nil,
},
0,
},