This website requires JavaScript.
Explore
Help
Sign In
jeff
/
dust
Watch
1
Star
0
Fork
0
You've already forked dust
Code
3bb4d3c7ec
dust
/
examples
/
list.ds
8 lines
94 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Continue syntax overhaul
2023-10-06 12:17:37 +00:00
numbers = [1, 2, 3]
Implement list, map and string indexing
2023-10-30 21:11:06 +00:00
x = numbers.{0}
y = numbers.{1}
z = numbers.{2}
Continue syntax overhaul
2023-10-06 12:17:37 +00:00
Add assert and assert_equal tools
2023-10-11 16:07:30 +00:00
(assert_equal x + y, z)
Copy Permalink