Add list statement support with tests for creation, access, and errors

This commit is contained in:
Stone_Red
2026-03-04 15:47:54 +01:00
parent 344e9e644e
commit e99df1e3f2
6 changed files with 455 additions and 3 deletions
+11
View File
@@ -47,6 +47,17 @@ var i = ${i} - 1 calc
end_while
```
## Lists
```ynt
list items new
list items add apple
list items add banana
list items get 1
var value = %out
print_line ${value}
```
## Full v1 -> v2 Mapping
| Area | v1 Syntax | v2 Syntax | Notes |