#114 New template for Tree-sitter parsers
Closed by mavit. Opened by mavit.
Unknown source main

Download 114.patch

Tree-sitter is a library for parsing programming languages and similar. The parser for each language sits in its own repository, so we could end up with lots of packages.

Upstream are considering additional standardisation of the build process for tree-sitter parsers, but this should get us started for now.

An example of a package using this template is libtree-sitter-java.

Please don't use forge macros here, as they're not available across all the distributions that ship these templates.

1 new commit added

  • Don’t use %forge macros

1 new commit added

  • Refresh for recent Tree-sitter Makefile templates.

2 new commits added

  • Run tests in tree-sitter template.
  • Explicit filenames in tree-sitter template.

1 new commit added

  • Tree-sitter tests require /usr/bin/tree-sitter.

I now think this would be better solved by macros rather than a template. https://pagure.io/tree-sitter-srpm-macros/

Pull-Request has been closed by mavit

Metadata