tree-sitter-dust/examples/list.ds

8 lines
88 B
Plaintext
Raw Normal View History

2023-10-01 16:17:52 +00:00
numbers = [1, 2, 3]
2023-09-29 15:56:07 +00:00
2023-10-01 06:43:42 +00:00
x = numbers.0
y = numbers.1
z = numbers.2
2023-09-29 15:56:07 +00:00
2023-10-01 06:43:42 +00:00
assert_equal <x + y, z>