emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree sitter support for C-like languages


From: Eli Zaretskii
Subject: Re: Tree sitter support for C-like languages
Date: Tue, 15 Nov 2022 05:27:19 +0200

> From: Yuan Fu <casouri@gmail.com>
> Date: Mon, 14 Nov 2022 13:57:46 -0800
> Cc: monnier@iro.umontreal.ca,
>  theo@thornhill.no,
>  emacs-devel@gnu.org
> 
> > Doesn't the call to ts_tree_edit update those nodes?  
> 
> No.
> 
> > That is, aren't
> > those nodes a part of the tree that gets updated by the ts_tree_edit
> > call?
> 
> The node stores some information in itself (start_byte, end_byte, inlined 
> data, etc), and references the tree for the rest. The information it stores 
> needs to be updated separately.

Can we do that?  What are the difficulties?



reply via email to

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