[Top][All Lists]

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

Re: tree-sitter version?

From: T.V Raman
Subject: Re: tree-sitter version?
Date: Wed, 23 Nov 2022 20:57:13 -0800
User-agent: Gnus/5.13 (Gnus v5.13)

Yuan Fu <casouri@gmail.com> writes:

Confusing times ahead!

So: am I supposed to install tree-sitter from github or from debian's
package manager?
I first did the package-manager version, then pulled from github and
installed that -- configure shows that tree-sitter is detected -- but
calling any of the tree-sitter modes, eg c-ts-mode barfs with an error
saying that support is not available.

>> On Nov 23, 2022, at 5:54 PM, T.V Raman <raman@google.com> wrote:
>> While building emacs from Github @HEAD, I noticed that configure
>> checks for two different tree-sitter versions 
>> checking for tree-sitter >= 0.20.2... no
>> checking for tree-sitter >= 0.6.3... yes
>> Installing from apt-get on Debian, and later cloning and building
>> tree-sitter from github both give 0.6.3
>> So what is 0.20 --asking only because 20 much-greater-than 6??
> The official latest version of tree-sitter right now is 0.20.7, the
> one we want is >=0.20.2 (which has the ability to change malloc
> implementation on runtime). However apprantly tree-sitter??s makefile
> wasn??t updated after 0.6.3 so the version number on the installed
> library is 0.6.3. Ideally we want to require >=0.20.2 and be done with
> it, but since most tree-sitter libraries installed on people??s
> machines are 0.6.3, we also accept 0.6.3 and use autotool magic to
> check for the ability to change malloc implementation.
> Yuan



--Raman(I Search, I Find, I Misplace, I Research)
?7?4 Id: kg:/m/0285kf1  ?0?8

reply via email to

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