This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/tests/parser/data/main.arf

48 lines
908 B
Plaintext
Raw Normal View History

2022-08-15 02:38:57 +00:00
:arf
---
2022-09-05 15:12:55 +00:00
data ro aInteger:Int 3202
2022-08-15 02:38:57 +00:00
2022-09-05 15:12:55 +00:00
data ro bMutInteger:Int:mut 3202
2022-09-05 15:12:55 +00:00
data ro cIntegerPointer:{Int}
2022-09-05 15:12:55 +00:00
data ro dMutIntegerPointer:{Int}:mut
2022-08-15 02:38:57 +00:00
2022-09-05 15:12:55 +00:00
data ro eIntegerArray16:Int:16
2022-08-15 02:38:57 +00:00
2022-09-05 15:12:55 +00:00
data ro fIntegerArrayVariable:{Int ..}
2022-08-15 02:38:57 +00:00
2022-09-05 15:12:55 +00:00
data ro gIntegerArrayInitialized:Int:16
2022-08-15 02:38:57 +00:00
3948 293 293049 948 912
340 0 2304 0 4785 92
# TODO: reinstate these two after phrase parsing is implemented
2022-09-05 15:12:55 +00:00
# data wr hIntegerPointerInit:{Int} [& integer]
2022-09-05 15:12:55 +00:00
# data wr iMutIntegerPointerInit:{Int}:mut [& integer]
2022-08-15 02:38:57 +00:00
# TODO: maybe test identifiers somewhere else?
2022-09-05 15:12:55 +00:00
data ro jObject:thing.Thing.
2022-08-25 03:55:34 +00:00
thing.thing
2022-09-11 14:52:53 +00:00
-- this 324
-- that 2139
2022-08-15 02:38:57 +00:00
2022-09-05 15:12:55 +00:00
data ro kNestedObject:Obj
2022-09-11 14:52:53 +00:00
-- this
-- bird0 324
-- bird1 "hello world"
ro newMember:Int 9023
-- that
-- bird2 123.8439
-- bird3 9328.21348239
data ro lMutIntegerArray16:Int:16:mut
data ro mExternalData:Int:8
external
data ro nIntegerArrayInitialized:Int:16:mut
3948 293 293049 948 912
340 0 2304 0 4785 92