static type analysis, formatted compiler errors, hex support, composite types, updated cli, more global builtins, fix list form, fix value refs
This commit is contained in:
parent
84cc845748
commit
954308b29f
18 changed files with 1352 additions and 285 deletions
13
tests/refs.ang
Normal file
13
tests/refs.ang
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
list := []
|
||||
|
||||
list.append(1)
|
||||
list.append(2)
|
||||
|
||||
assertEq(list, [1, 2])
|
||||
|
||||
other := list
|
||||
other.append(3)
|
||||
|
||||
assertEq(other, [1, 2, 3])
|
||||
assertEq(list, [1, 2])
|
||||
Loading…
Add table
Add a link
Reference in a new issue