Skip to content

Add enablePrattParser option and split Parser into AntlrParser and dispatcher - #1212

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_978827922
Open

Add enablePrattParser option and split Parser into AntlrParser and dispatcher#1212
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_978827922

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Add enablePrattParser option and split Parser into AntlrParser and dispatcher

Split Parser.java into AntlrParser.java (containing all ANTLR dependencies) and Parser.java (acting as a simple dispatcher between AntlrParser and PrattParser).
Refactor CelParserParameterizedTest and CelParserImplTest to run tests against both ANTLR and Pratt parsers to ensure exact AST equivalence.

@copybara-service
copybara-service Bot force-pushed the test_978827922 branch 4 times, most recently from c134435 to 94cdb71 Compare September 10, 2026 17:52
…spatcher

Split Parser.java into AntlrParser.java (containing all ANTLR dependencies) and Parser.java (acting as a simple dispatcher between AntlrParser and PrattParser).
Refactor CelParserParameterizedTest and CelParserImplTest to run tests against both ANTLR and Pratt parsers to ensure exact AST equivalence.

PiperOrigin-RevId: 978827922
@copybara-service
copybara-service Bot force-pushed the test_978827922 branch 2 times, most recently from 94cdb71 to 4ea6cbf Compare September 10, 2026 19:06
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.

1 participant