Skip to content

Conversation

pwrightcertinia
Copy link
Contributor

@pwrightcertinia pwrightcertinia commented May 21, 2025

closes #67

From changelog:

  • Enabled caseInsensitive option for lexers (added in ANTLR 4.10).
    • As a result, CaseInsensitiveInputStream is deprecated and should no longer be required.

There is no detectable perf difference between using the insensitive lexer or input stream (see system test timing). The input stream converts to lower case which will still match the lexer rules but it can work without now. When using an unaltered stream any text outputs will match more accurately to the source.

@pwrightcertinia pwrightcertinia merged commit 54fc294 into main May 22, 2025
1 check passed
@pwrightcertinia pwrightcertinia deleted the case-insensitive-lexer branch May 22, 2025 10:50
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.

Antlr caseInsensitive option
1 participant