GNU bug report logs - #61849
29.0.60; Unable to use treesit-install-language-grammar because repo doesn't have parser.c

Previous Next

Package: emacs;

Reported by: Misha Zharov <mishazharov1 <at> gmail.com>

Date: Mon, 27 Feb 2023 19:48:02 UTC

Severity: normal

Found in version 29.0.60

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Misha Zharov <mishazharov1 <at> gmail.com>
Cc: casouri <at> gmail.com, 61849 <at> debbugs.gnu.org
Subject: bug#61849: 29.0.60; Unable to use treesit-install-language-grammar because repo doesn't have parser.c
Date: Mon, 20 Mar 2023 21:28:20 +0200
> From: Misha Zharov <mishazharov1 <at> gmail.com>
> Date: Sun, 19 Mar 2023 22:14:44 -0700
> Cc: casouri <at> gmail.com, 61849 <at> debbugs.gnu.org
> 
> > Please chime in to try to convince them to go back to including the
> > generated parser files.
> 
> Thanks for the update.  I've now done this, but I think that it will be
> difficult to make sure that community sticks to this standard of keeping
> the autogenerated files in the repo.  Their arguments do have some
> merit regarding the difficulty of resolving merge conflicts and overall
> maintenance burden.  At the same time, having the autogenerated file
> present is a nice QOL feature for users because it's easily reproducible.

Bummer:

  https://github.com/DerekStride/tree-sitter-sql/issues/120#issuecomment-1476609242

> I'm not sure what the ultimate solution to this will be though.  It might be
> necessary to come up with a new paradigm of installing treesitter
> grammars that addresses some of the current issues

Maybe.  better yet, the various distros should hopefully pick up the
gauntlet and startr providing prebuilt binaries of these grammar
libraries for users to install using standard tools.




This bug report was last modified 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.