Lists
Created by: Lartu
I've added LIST
s to the language. LISTs work like C++ vectors do, they have a defined size, one can push elements to these lists, access, read and write to its indices, clear them, copy them, compare them and split strings into them. I've felt for a long time now that LDPL Vectors are not only not enough but might be confusing and counterproductive to use in some situations, so here we have lists. Also, as LDPL Vectors are, in fact, what common languages use to call "Maps" or "Dictionaries", one can now use foo IS NUMBER MAP
instead of foo IS NUMBER VECTOR
(the later still works for compatibility, but will be marked as deprecated in the documentation).
Please tell me what you think about this update. I'll add everything to the docs as soon as I can. @dvkt @dgarroDC