Skip to content

Migrate to 0-indexed spans #669

@ReeceHumphreys

Description

@ReeceHumphreys

Currently, our spans are 1-indexed to be more in line with how files are represented in editors. However, this has proven to be painful when implementing things like a language server, as the LSP protocol assumes 0-based positions. It would be nice to switch to using 0-based indexing for better compatibility with other tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    easyGood for newcomersproposalslicecRelated to the 'slicec' crate

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions