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

Document grammar extensions #524

Open
jorendorff opened this issue May 15, 2020 · 0 comments
Open

Document grammar extensions #524

jorendorff opened this issue May 15, 2020 · 0 comments
Labels
MVP MVP Project Work - In Scope With A Commitment To Complete. P2 Project Work (MVP or Reserve) that is available for selection. parser generator Bug related to the grammar processing, parse tebale generator and the parse table backends.

Comments

@jorendorff
Copy link
Contributor

Grammar extensions seem to do several things:

  • make the grammar itself more modular
  • support adding grammar for proposals we implement, while keeping the main grammar close to the standard
  • get callbacks from grammar productions before we reach the last token
  • separate early error checking from other callbacks
  • something about traits, I think to make the parser/AstBuilder/early error checker more modular too, but I don't understand this part

We never vetted this design as a group, and I think only @nbp fully understands it. We should get it written down—both how it's meant to work, and why.

@jorendorff jorendorff added MVP MVP Project Work - In Scope With A Commitment To Complete. P2 Project Work (MVP or Reserve) that is available for selection. parser generator Bug related to the grammar processing, parse tebale generator and the parse table backends. labels May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MVP MVP Project Work - In Scope With A Commitment To Complete. P2 Project Work (MVP or Reserve) that is available for selection. parser generator Bug related to the grammar processing, parse tebale generator and the parse table backends.
Development

No branches or pull requests

1 participant