Rewrote parser test case input files

This commit is contained in:
2022-09-27 14:17:15 -04:00
parent c4101dcd33
commit 873d6c89b1
6 changed files with 75 additions and 88 deletions

View File

@@ -11,26 +11,26 @@ enum ro Weekday:Int
- saturday
enum ro NamedColor:U32
- red: <0xFF0000>
- green: <0x00FF00>
- blue: <0x0000FF>
- red 0xFF0000
- green 0x00FF00
- blue 0x0000FF
enum ro AffrontToGod:Int:4
- bird0:
<28394 9328
398 9>
- bird1:
<23 932832
- bird0
(28394 9328
398 9)
- bird1
(23 932832
398
2349>
- bird2:
<1
2349)
- bird2
(1
2
3
4>
4)
enum ro ThisIsTerrible:Obj:(.rw x:Int .rw y:Int)
- up: (.x:< 0> .y:<-1>)
- down: (.x:< 0> .y:< 1>)
- left: (.x:<-1> .y:< 0>)
- right: (.x:< 1> .y:< 0>)
enum ro ThisIsTerrible:Vector
- up ( 0 -1)
- down ( 0 1)
- left (-1 0)
- right ( 1 0)