Skip to content

Allow expression in index and slice expressionΒ #11

@innovate-invent

Description

@innovate-invent

It is very useful to allow data to refer to itself.
I propose bracket-specifier = "[" (number / "*") "]" / "[]" be extended to bracket-specifier = "[" (expression / "*" ) "]" / "[]" for indexes.

slice-expression = [number] ":" [number] [ ":" [number] ] be extended to slice-expression = [expression] ":" [expression] [ ":" [expression] ] for slices

The scope of the expression is the parent of the object being sliced, this can be extended with let()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions