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/skim/main.arf

37 lines
515 B
Plaintext
Raw Normal View History

2022-09-05 18:52:37 +00:00
:arf
---
data ro aExternalData:Int
external
data ro bSingleValue:Int 342
2022-09-27 18:17:15 +00:00
data ro cNestedObject:Obj (
(324 "hello world")
(123.8439 9328.21348239)
)
2022-09-05 18:52:37 +00:00
data ro dUninitialized:Int:16:mut
data ro eIntegerArrayInitialized:Int:16:mut
2022-09-27 18:17:15 +00:00
(3948 293 293049 948 912
340 0 2304 0 4785 92)
2022-09-05 18:52:37 +00:00
func ro fComplexFunction
---
= x:Int 3
= y:{Int} [loc x]
2022-09-27 18:17:15 +00:00
= z:Int:8 (
2022-09-05 18:52:37 +00:00
398 9 2309 983 -2387
2022-09-27 18:17:15 +00:00
478 555 123)
= bird:Bird ((99999) 324)
2022-09-05 18:52:37 +00:00
func ro gExternalFunction
> x:Int
< arr:Int 5
2022-09-27 18:17:15 +00:00
(34908
39 3498
2022-09-27 18:17:15 +00:00
38 219)
2022-09-05 18:52:37 +00:00
---
external