Add importing, lists and objects, and add basic functions (global and on values)
This commit is contained in:
parent
449f7cd815
commit
634a4a2b61
11 changed files with 919 additions and 60 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue