We are refactoring the SQL parser: the sql_yacc.yy file and friends.
Refactoring the parser consists of a base task that provides the common framework for refactoring, and several follow-up tasks to refactor individual types of SQL statements. We have already completed two follow-up tasks: one to refactor SELECT statements, and another to refactor SET statements.
Parser refactoring goals and tasks
The old parser had critical limitations because of its grammar complexity and top-down parsing style:
- The top-down parsing style is not natural for