Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Span to represent source locations #115

Open
ishitatsuyuki opened this issue Jan 7, 2019 · 0 comments
Open

Use Span to represent source locations #115

ishitatsuyuki opened this issue Jan 7, 2019 · 0 comments

Comments

@ishitatsuyuki
Copy link
Contributor

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)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant