riff-lang / riff

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

Add support for string slices with ranges containing negative indices #44

Closed darrylabbate closed 1 year ago

darrylabbate commented 1 year ago

E.g.

darrylabbate commented 1 year ago

Additionally, this currently segfaults:

$ ~/projects/riff/bin/riff -e '"string"[..-1]'
Segmentation fault: 11