Source

arana-main / example / demo.ar

Full commit
1
2
3
4
5
6
7
8
name = "World"
"A list with stuff in: #{["Hello #{name}!", 42, 23]}\n".print()

list = [1, 2, 3]
"Length of list: #{list.length}\n".print()

for item in [1, 2, 3, 4, 5]:
    "Item: #{item.to_repr()}\n".print()