Gavin Schulz
2799fa6b58
feat: add range subscripting support for strings with CalculatedRange helper
...
Extract range validation logic from list_subscript 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 subscripting via the new helper, including comprehensive test coverage for forward, backward, negative, and half-negative ranges with proper error messages for out-of-bounds and non-integer values.
2015-01-17 07:20:56 +00:00
..
2014-04-03 02:41:53 +00:00
2014-01-05 20:27:12 +00:00
2014-04-09 14:48:35 +00:00
2014-04-09 14:48:35 +00:00
2015-01-14 05:36:42 +00:00
2015-01-04 21:00:53 +00:00
2014-04-04 14:51:18 +00:00
2014-04-09 14:48:35 +00:00
2015-01-04 19:42:11 +00:00
2014-04-03 02:41:53 +00:00
2014-04-19 18:41:21 +00:00
2014-04-09 14:48:35 +00:00
2014-04-19 18:41:21 +00:00
2014-04-09 00:54:37 +00:00
2015-01-04 19:42:11 +00:00
2015-01-12 05:47:29 +00:00
2014-04-04 14:51:18 +00:00
2015-01-03 18:02:45 +00:00
2015-01-16 08:48:59 +00:00
2014-01-21 02:12:55 +00:00
2015-01-04 19:42:11 +00:00
2014-04-04 14:51:18 +00:00
2015-01-15 07:08:25 +00:00
2015-01-16 05:50:01 +00:00
2015-01-16 05:50:01 +00:00
2015-01-16 05:50:01 +00:00
2015-01-16 08:33:23 +00:00
2014-04-03 14:48:19 +00:00
2014-04-09 00:54:37 +00:00
2015-01-04 19:09:33 +00:00
2014-04-03 02:41:53 +00:00
2015-01-17 07:20:56 +00:00
2015-01-11 23:43:51 +00:00
2014-04-03 14:48:19 +00:00
2015-01-14 05:36:42 +00:00
2014-04-04 14:51:18 +00:00
2014-01-05 20:27:12 +00:00
2015-01-04 21:00:53 +00:00
2015-01-09 07:06:50 +00:00
2015-01-12 03:58:30 +00:00
2014-01-05 20:27:12 +00:00
2015-01-03 18:02:45 +00:00
2014-01-05 20:27:12 +00:00
2015-01-03 14:10:04 +00:00