Files
wren/test
Bob Nystrom f5017a3963 feat: add string range subscript support with CalculatedRange helper
Extract range validation logic into a reusable `calculateRange` function that handles inclusive/exclusive bounds, negative indices, and direction stepping. Add `CalculatedRange` struct to `wren_core.h` and implement string subscript tests covering forward, backward, negative, and half-negative ranges along with comprehensive error cases for out-of-bounds and non-integer range endpoints.
2015-01-20 23:01:14 +00:00
..