bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#64017: Wrong conversion from Emacs to Tree-sitter S-expression synta


From: Yuan Fu
Subject: bug#64017: Wrong conversion from Emacs to Tree-sitter S-expression syntax
Date: Thu, 15 Jun 2023 15:13:12 -0700


> On Jun 15, 2023, at 3:45 AM, Mattias Engdegård <mattias.engdegard@gmail.com> 
> wrote:
> 
> I also propose that we change the documentation to describe the (Elisp) 
> sexp-based query syntax only, or at least first and foremost, since that is 
> what all existing code uses and is more convenient. Currently the manual 
> starts by describing the string syntax and only then the Elisp sexp syntax.
> 

The difference between tree-sitter syntax and Elisp sexp syntax is petty small 
(anchor, predicates), so the text describing the tree-sitter syntax is 
basically describing Elisp sexp syntax. With that said if someone makes it 
describe Elisp sexp syntax first, I wouldn’t mind.

Yuan




reply via email to

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