Incremental Parsing with emacs-tree-sitter- Questions
summary
Emacs tree-sitter integration is a dynamic module that already parses incrementally but suffers performance hits because Emacs copies buffer to string for reads, provoking frequent GC; the parser itself is C so it avoids lisp garbage-collection latency. It exposes a base minor mode for highlighting and incremental AST updates, Python mode is used at work, TypeScript/TSX integration is incomplete, a debug view showing matched source is TODO, in-buffer refactorings are doable but project-wide refactors need a project-aware model.
AI-written summary · about
related talks
14mFast Incremental PEG Parsing
42mFrom Linear to Incremental
29mMy Little Parser: Tooling is Magic
20mAn Approach to Generate Text-Based IDEs for Syntax Correction based on Syntax Specification
25mHigh-Fidelity Metaprogramming with Separator Syntax Trees
25mNano-parsing: A Data-parallel Architecture for Perverse Parsing Environments
37mThe Elixir parser under the microscope
01h 27mBoost.Parser (Part 1 of 2) - A Parser Combinator Library for C++
