Skip to content

Use Span to represent source locations #115

Description

@ishitatsuyuki

Span seems to be a quite common thing in parsers, and it's also very useful when it comes to source map (#98, sourcemaps uses line and column instead of byte position).

Instead of reimplementing these functionality in-house, there seems to be a good crate, codespan that is used by the Gluon scripting language. Let's integrate it (and give them a shout out)!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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