clojure-mode meets tree-sitter

115 · Bozhidar Batsov · March 12, 2023, 9:44 a.m.
It’s no secret that one of the biggest weaknesses of Emacs is that features like font-locking (syntax highlighting) and indentation are (usually) implemented in terms of regular expressions. Even though this primitive approach mostly gets the job done, it’s both slow and quite limiting in some ways. Emacs 29 aims to change this with the introduction of a built-in support Tree-sitter. Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree fo...