riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

Support for subscripting tables with ranges #50

Open darrylabbate opened 1 year ago

darrylabbate commented 1 year ago

E.g.

The returned values should be packed into a table with numeric keys starting from 0. E.g. table[2..4] should return new_table[0..2]

Unknown: should any non-numeric (string) keys also be copied over?