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

Preserve token positions? #42

Open
aldonline opened this issue Jul 21, 2017 · 1 comment
Open

Preserve token positions? #42

aldonline opened this issue Jul 21, 2017 · 1 comment

Comments

@aldonline
Copy link

This might be out of scope, but preserving token positions (when possible) would broaden the usefulness of this library to include IDE-like projects (with autocomplete, advanced error reporting, contextual hover info, etc).
I understand that there is some interpretation logic that's tightly coupled to the parser rules, but even partial info can go a long way.
Awesome work Ruben, I love how straightforward this library is ;)

@RubenVerborgh
Copy link
Owner

Hi Aldo, certainly a nice to have. Whether it is possible depends on the underlying parser generator that we use. I'll have to check what it allows.

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

No branches or pull requests

2 participants