emacs-devel
[Top][All Lists]
Advanced

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

Re: parser error recovery algorithm vs treesit indentation "blinking"


From: John Yates
Subject: Re: parser error recovery algorithm vs treesit indentation "blinking"
Date: Tue, 4 Apr 2023 08:01:07 -0400

On Mon, Apr 3, 2023 at 5:49 PM Stephen Leake
<stephen_leake@stephe-leake.org> wrote:
>
> That's because the tree-sitter
> algorithm does not insert symbols, it only skips them.

Is this a fundamental architectural limitation of tree-sitter's parsing
scheme?  Was it a design decision that trying insertions would be
too costly?  Or is it an improvement that should be explored?

Has this been discussed in the wider tree-sitter community?  I would
be surprised if emacs is the first to encounter this weakness.



reply via email to

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