Overview of the process flow Parse input SQL with tree-sitter-sql tree-sitter-sql to get CST. Parsing CSTs and converting them into their original tree structure. Formatting and output using original tree structure.