Skip to content

Conversation

@secretlyshannon
Copy link
Collaborator

Upstream changes to enables C++ semantic actions to co-exist with rule syntax extensions (e.g. optional, choice, and list) for ZetaSQL

@inspirer inspirer merged commit 9c34440 into inspirer:main May 3, 2025
1 check passed
Copy link
Collaborator Author

@secretlyshannon secretlyshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream several features implemented for the zetaSQL parser:

  • Expansion limits for the EBNF desugaring to prevent surprise exponential automata growth.
  • Reduce tracking to eventually enable generating better error messages.
  • A configurable cap on rule size for ordinal references in semantic actions to allow gradual weaning from that feature.
  • #line directives and custom action function names to improve debugging issues in semantic actions in C++.

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

Successfully merging this pull request may close these issues.

2 participants