Subject: [PATCH v7 00/32] gnu: Add tree-sitter for emacs.

From: Pierre Langlois <[email-masked]>
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