The SQL evaluation engine that ships with Vitess, the open-source database that powers Planet Scale, was originally implemented as an AST evaluator that used to operate directly on the SQL AST generated by our parser.