This repository has been archived on 2022-08-29. You can view files and clone it, but cannot push or open issues or pull requests.
arf/tests/parser/data/main.arf
Sasha Koshka ac40fa96e5 Improved parser test
Created new cases involving mutable data and phrase initialization arguments,
and always print out the correct and parsed trees.
2022-08-16 01:55:22 -04:00

40 lines
609 B
Plaintext

:arf
---
data wr integer:Int 3202
data wr mutInteger:Int:mut 3202
data wr integerPointer:{Int} [& integer]
data wr mutIntegerPointer:{Int}:mut [& integer]
data wr integerArray16:{Int 16}
data wr integerArrayVariable:{Int ...}
data wr integerArrayInitialized:{Int 16}
3948 293 293049 948 912
340 0 2304 0 4785 92
data wr object:Obj
, this 324
, that 2139
data wr nestedObject:Obj
, this
, bird0 324
, bird1 "hello world"
, that
, bird2 123.8439
, bird3 9328.21348239
# func rr main
# ---
# [let object:Obj
# , this 324
# , that 2139]
#
# let object:Obj , this 324 , that 2139