Parse SQL into ASTs and emit SQL from ASTs.