Release 0.6.2#36
Conversation
…FA-skipped lexer rules
…rnative DFA absorption
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (22)
📝 WalkthroughWalkthroughRelease 0.6.2 resolves shift-operator compilation failures and per-iteration whitespace trivia tokenization. The DfaBuilder detects inline-expandable shift-operator patterns and refactors whitespace absorption into per-alternative trivia kinds. ParserGenerator emits multi-token inline expansions and loud failures for skipped lexer rules. Grammar adopts folded whitespace form with comprehensive regression tests validating shift operators and trivia parity. ChangesShift operator inline expansion and per-iteration whitespace tokenization
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Patch release 0.6.2.
Fixed
<</>>/>>>) in field/local-var initializer context — inline expansion of DFA-skipped lexer rules; selfhost fixture (40K LOC) now parses with 0 diagnostics; bothJava25SelfHostDiagTestassertions re-enabled.%whitespacetokenization — folded%whitespace <- (...)*emits per-kind trivia tokens; canonical grammar split workaround reverted; 2 trivia tests re-enabled.Added
fromGrammarfailure (SkippedRuleReferenced) — broken parsers are no longer generated silently.ShiftOperatorInlineExpansionTest(16 regression tests).Validation: 1420 tests / 0 failures / 2 pre-existing skips; JMH flat (reference 2.68 ms, selfhost 71.9 ms); release profile builds sources+javadoc; docs audited and updated.
Summary by CodeRabbit
Bug Fixes
<<,>>,>>>) failing at compilation level in field/local-variable initializers.Improvements