[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-tree-sitter and Emacs

From: Stephen Leake
Subject: Re: emacs-tree-sitter and Emacs
Date: Tue, 31 Mar 2020 16:30:55 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt)

Stefan Monnier <address@hidden> writes:

>> I see, so in your opinion having a central engine won't be a bad
>> architecture design for Emacs despite major modes having their own engine.
> On the contrary: moving indentation to tree-sitter would be of great
> benefit.

Tree-sitter is just one way to implement a parser. Implementing
indentation as part of a tree-sitter Emacs package would be missing the
chance to use other parsers.

wisi provides indentation, navigation, and font-lock, with the
infrastructure to allow any parser; it should be straight-forward to use
tree-sitter as a wisi parse backend.

-- Stephe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]