Skip to content

Commit

Permalink
Replace lexer switch/case and function calls with lookup tables
Browse files Browse the repository at this point in the history
This was done together with the first semi-manual pass & check  based on MySQLLexer.g4 grammar
from https://github.com/mysql/mysql-workbench/blob/8.0.38/library/parsers/grammars/MySQLLexer.g4.

It also cuts the size of the lexer from 9460 LOC to 3827 LOC, and the correctness improvements
further reduce the number of failing tests.
  • Loading branch information
JanJakes committed Oct 1, 2024
1 parent 1ab3723 commit a188f48
Show file tree
Hide file tree
Showing 3 changed files with 1,451 additions and 8,035 deletions.
Loading

0 comments on commit a188f48

Please sign in to comment.