Support numeric range syntax for indices #51

Open
opened 2026-08-02 09:52:31 +00:00 by UserCurt · 0 comments
Owner

Indices in output selectors and in future parenthesis #5, brace #5, dot-numeric indexing #2 at minimum should support comma-delimited list of numbers and a colon syntax :.

This issue proposes extending the functionality across these to include range syntax where start, stop, and optionally step are provided: start : stop, start : step : stop. This should include both ascending (positive step) and descending (negative step).

This issue also proposes allowing for concatenation with additional indices. For example: 1:5, 8. It is unclear whether commaless should be supported.

Rendering should also include colon syntax rather than the full comma-delimited list of indices.

arrayToColonsBrackets was made available in commit 7f963b6 but has since been removed. This or something inspired by this can be reintroduced when this issue is being addressed.

Indices in output selectors and in future parenthesis #5, brace #5, dot-numeric indexing #2 at minimum should support comma-delimited list of numbers and a colon syntax `:`. This issue proposes extending the functionality across these to include range syntax where start, stop, and optionally step are provided: `start : stop`, `start : step : stop`. This should include both ascending (positive step) and descending (negative step). This issue also proposes allowing for concatenation with additional indices. For example: `1:5, 8`. It is unclear whether commaless should be supported. Rendering should also include colon syntax rather than the full comma-delimited list of indices. `arrayToColonsBrackets` was made available in commit `7f963b6` but has since been removed. This or something inspired by this can be reintroduced when this issue is being addressed.
UserCurt added this to the Someday milestone 2026-08-02 09:52:31 +00:00
Sign in to join this conversation.
No description provided.