treesitter
Tree sitter is a parser framework for programming languages.
It supports incremental syntax tree change and error handling, enabled by the GLR(General LR) parsing algorithm.
It can be used to enable context aware highlights, with super fast response, unlike other IDEs which have to parse the entire file every time, or other naive highlighting using regex.
"Tree-sitter - a new parsing system for programming tools" by Max Brunsfeld -…