Changes for version 0.10 - 2023-08-11

  • CHANGES
    • Added `$ts->parse_string_range` for substring parsing
    • Added `$qc->next_match_captures` to simplify common usage patterns
    • `$query->test_predicates_for_match` no longer needs the `$tree` argument
    • Don't require that callers include the `queries/` part of query file path when calling `->query_file_path`.
    • Silently ignore any query predicates whose names don't end with '?', so as to skip the directives used by nvim
    • Optionally interpret injections.scm in examples/highlight.pl

Modules

Perl binding for tree-sitter
represents a tree-sitter language grammar
an element of a tree-sitter parse result
parse some input text according to a tree-sitter grammar
represents a set of tree-sitter query patterns
stores the result of a tree-sitter node query
stores the result of a tree-sitter query pattern match
holds the result of a tree-sitter parse operation