tree-sitter-grammar.eclass

Name

tree-sitter-grammar.eclass -- Common functions and variables for Tree Sitter grammars

Supported EAPIs

8

Exported Phases

  • src_compile

  • src_test

  • src_install

  • src_prepare

  • src_configure

Functions

tree-sitter-grammar_src_test

Runs the Tree Sitter parser's test suite. See: https://tree-sitter.github.io/tree-sitter/creating-parsers#command-test

Variables

TS_PV (SET BEFORE INHERIT)

Used to override upstream tag name if tagged differently, e.g. most releases are v${PV} but some are tagged as rust-${PV}.

TS_BINDINGS (SET BEFORE INHERIT)

Array of bindings language to build. Currently only "python" is supported.

Authors

Matthew Smith <matthew@gentoo.org>

Maintainers

Arthur Zamarin <arthurzam@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/