Skip to content

Slices #12

Description

@BraedonWooding

Support slices like in Go/Zig/D/...

Current syntax that most use is something like;

array := [1, 2, 3, 5]
A.x = array[0..] // from 0 to the end
A.x = array[..5] // from 0 to 5 (including the '5')

Maybe we would also want support for things like .length on the arrays?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions