← concepts · the commons
incremental parsing
3 moment(s) that assert this concept — showing 1–3 of 3
single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →Strange Loop Conference · youtube · en
1Tree 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”
spoken · 80s · 2018-10-14
Strange Loop Conference · youtube · en
2Incremental parsing in Tree sitter is fast and uses little memory because the new tree shares parts of the old tree that haven't changed.
“creating that new tree is super fast and it uses very little memory because the new tree shares parts of the old tree that haven't changed from when you edited”
spoken · 95s · 2018-10-14
Strange Loop Conference · youtube · en
3Tree sitter is different from IDEs because it supports incremental parsing, which IDEs typically do not.
“so none of the idees that I know of do the kind of incremental parsing that I just talked about”
spoken · 206s · 2018-10-14