Created structs needed to represent a data section

This commit is contained in:
Sasha Koshka
2022-08-15 01:47:42 -04:00
parent 0a067524ce
commit b02ff6cda6
3 changed files with 152 additions and 9 deletions

View File

@@ -15,13 +15,23 @@ data wr integerArrayInitialized:{Int 16}
340 0 2304 0 4785 92
data wr object:Obj
: this 324
: that 2139
, this 324
, that 2139
data wr nestedObject:Obj
: this
: bird0 324
: bird1 "hello world"
: that
: bird2 123.8439
: bird3 9328.21348239
, this
, bird0 324
, bird1 "hello world"
, that
, bird2 123.8439
, bird3 9328.21348239
# parsing an object literal
func rr main
---
[let object:Obj
, this 324
, that 2139]
let object:Obj , this 324 , that 2139