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

Comments

Projects
None yet
2 participants
@aldonline

aldonline commented Jul 21, 2017

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

This comment has been minimized.

Show comment
Hide comment
@RubenVerborgh

RubenVerborgh Jul 22, 2017

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.

Owner

RubenVerborgh commented Jul 22, 2017

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