Add dereference parsing #17

Merged
sashakoshka merged 7 commits from parse-dereferences into main 2022-10-11 11:37:40 -06:00
2 changed files with 21 additions and 0 deletions
Showing only changes of commit 56a3ca509a - Show all commits

View File

@ -105,5 +105,15 @@ func ro hDataInit
[= y:{Int} [loc x]]
[= z:Int:8 (398 9 2309 983 -2387 478 555 123)]
[= bird:Bird ((99999) 324)]
func ro iDereference
> w:Face
> x:{Int}
> y:{Int ..}
> z:Int:4
---
= a:Int {w Int}
= b:Int {x}
= c:Int {y 4}
= d:Int {z 3}
`, test)
}

View File

@ -132,3 +132,14 @@ func ro hDataInit
= bird:Bird (
(99999)
324)
func ro iDereference
> w:Face
> x:{Int}
> y:{Int ..}
> z:Int:4
---
= a:Int {w Int}
= b:Int {x}
= c:Int {y 4}
= d:Int {z 3}