It's some time since I've worked with (and contributed to) tree-sitter, but it could exclusively detect syntax, not semantic, back then. For example it could not tell variables from types in C, nor already-defined variables from new/mistyped ones.
Have I missed an important development in tree-sitter? Can it now do such things?
Have I missed an important development in tree-sitter? Can it now do such things?