Hash :
42b15463
Author :
Date :
2020-03-24T20:30:58
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
list[2..^3];
list[..^3];
list[2..];
list[..];
----------------------------------------------------
[
"list",
["punctuation", "["],
["number", "2"],
["range", ".."],
["operator", "^"],
["number", "3"],
["punctuation", "]"],
["punctuation", ";"],
"\nlist",
["punctuation", "["],
["range", ".."],
["operator", "^"],
["number", "3"],
["punctuation", "]"],
["punctuation", ";"],
"\nlist",
["punctuation", "["],
["number", "2"],
["range", ".."],
["punctuation", "]"],
["punctuation", ";"],
"\nlist",
["punctuation", "["],
["range", ".."],
["punctuation", "]"],
["punctuation", ";"]
]
----------------------------------------------------
Checks for ranges.