Press ← or → to navigate between chapters Press S or / to search in the book Press ? to show this help Press Esc to hide this help Introduction Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. Tree-sitter aims to be: General enough to parse any progra