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

position token vs --functor #395

Open
ScottFreeCode opened this issue Oct 23, 2021 · 0 comments
Open

position token vs --functor #395

ScottFreeCode opened this issue Oct 23, 2021 · 0 comments

Comments

@ScottFreeCode
Copy link

The --functor CLI option adds position information to the generated AST. It seems to do so except for tokens.

The language position token makes tokens include position info.

Is there a reason to keep these separate? If so, when would I prefer the token's position info and when would I avoid it?

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