GNU bug report logs -
#49946
[PATCH 00/31] Tree-sitter, node-gyp addon support and emacs-tree-sitter
Previous Next
Full log
View this message in rfc822 format
On Fri Nov 25, 2022 at 1:21 AM GMT, Pierre Langlois wrote:
> * gnu/packages/tree-sitter.scm (tree-sitter-ocaml): New variable.
> --- a/gnu/packages/tree-sitter.scm
> +++ b/gnu/packages/tree-sitter.scm
> @@ -487,3 +487,42 @@ (define-public tree-sitter-julia
> + (let ((commit "0348562f385bc2bd67ecf181425e1afd6d454192")
> + (revision "1"))
Explain and start at 0.
> + (delete-file "binding.gyp")
> + (delete-file-recursively "bindings")
> + (for-each
> + (lambda (lang)
> + (with-directory-excursion lang
> + (delete-file "src/grammar.json")
> + (delete-file "src/node-types.json")
> + (delete-file "src/parser.c")
> + (delete-file-recursively "src/tree_sitter")))
> + '("ocaml" "interface"))
This stuff should definitely be handled by the
tree-sitter-build-system...
> + (arguments
> + (list
> + #:grammar-directories '("ocaml" "interface")))
Unnecessary newline and use of a quoted list; please use
(list #:grammar-directories (list "ocaml" "interface"))
-- (
This bug report was last modified 2 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.