GNU bug report logs - #49946
[PATCH 00/31] Tree-sitter, node-gyp addon support and emacs-tree-sitter

Previous Next

Package: guix-patches;

Reported by: Pierre Langlois <pierre.langlois <at> gmx.com>

Date: Sun, 8 Aug 2021 23:27:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Pierre Langlois <pierre.langlois <at> gmx.com>
To: 49946 <at> debbugs.gnu.org
Cc: Pierre Langlois <pierre.langlois <at> gmx.com>
Subject: [bug#49946] [PATCH v7 00/32] gnu: Add tree-sitter for emacs.
Date: Fri, 25 Nov 2022 01:21:10 +0000
Hi Guix!

With the recent news of tree-sitter support making it into emacs, I thought
it'd be a good idea to make sure this series is rebased and up-to-date,
hopefully nobody's working on this while not being aware of it.

This does not use the new native emacs support for tree-sitter, so the emacs
packages it introduces could eventually become obsolete. However the grammars
and the build system should be re-usable by emacs natively too.

On top of rebasing, I also:

  - Updated to 0.20.7.
  - Re-introduced a couple of rust crates needed by tree-sitter-cli.
  - Added support for R and Haskell.
  - Updated some of the grammars to make the emacs-tree-sitter-langs tests
    happy.

Thanks,
Pierre

Pierre Langlois (32):
  gnu: tree-sitter: Move to its own module.
  gnu: tree-sitter: Update to 0.20.7.
  gnu: Add rust-html-escape.
  gnu: Add rust-smallbitvec-2.
  gnu: Add tree-sitter-cli.
  build-system: Add tree-sitter-build-system.
  gnu: Add tree-sitter-c.
  gnu: Add tree-sitter-cpp.
  gnu: Add tree-sitter-bash.
  gnu: Add tree-sitter-css.
  gnu: Add tree-sitter-c-sharp.
  gnu: Add tree-sitter-elixir.
  gnu: Add tree-sitter-elm.
  gnu: Add tree-sitter-go.
  gnu: Add tree-sitter-haskell.
  gnu: Add tree-sitter-html.
  gnu: Add tree-sitter-java.
  gnu: Add tree-sitter-javascript.
  gnu: Add tree-sitter-json.
  gnu: Add tree-sitter-julia.
  gnu: Add tree-sitter-ocaml.
  gnu: Add tree-sitter-php.
  gnu: Add tree-sitter-python.
  gnu: Add tree-sitter-r.
  gnu: Add tree-sitter-ruby.
  gnu: Add tree-sitter-rust.
  gnu: Add tree-sitter-typescript.
  gnu: Add rust-tree-sitter.
  gnu: Add rust-tree-sitter-for-emacs.
  gnu: Add emacs-tree-sitter-core.
  gnu: Add emacs-tree-sitter.
  gnu: Add emacs-tree-sitter-langs.

 Makefile.am                                   |    2 +
 doc/guix.texi                                 |   21 +-
 gnu/local.mk                                  |    2 +
 gnu/packages/crates-io.scm                    |   46 +
 .../rust-tree-sitter-text-provider-fix.patch  |   98 ++
 gnu/packages/text-editors.scm                 |   52 -
 gnu/packages/tree-sitter.scm                  | 1001 +++++++++++++++++
 gnu/packages/vim.scm                          |    1 +
 guix/build-system/tree-sitter.scm             |  190 ++++
 guix/build/tree-sitter-build-system.scm       |  153 +++
 10 files changed, 1513 insertions(+), 53 deletions(-)
 create mode 100644 gnu/packages/patches/rust-tree-sitter-text-provider-fix.patch
 create mode 100644 gnu/packages/tree-sitter.scm
 create mode 100644 guix/build-system/tree-sitter.scm
 create mode 100644 guix/build/tree-sitter-build-system.scm

-- 
2.38.1





This bug report was last modified 2 years and 120 days ago.

Previous Next


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