1 Tree sitter supports incremental parsing, which allows it to generate a new syntax tree after an edit without reparsing the entire file.
“once you've parsed the file with treesitter you can then edit the file and treesitter can give you a new syntax tree that reflects the edit that you did without having to reparse the whole file over again”