Changes for version 0.05 - 2023-01-17

  • CHANGES
    • Added char-counting node start / end accessors
    • Nicer error message on ts_query_new() failure
    • Better config file search to closer match `tree-sitter-cli`
    • Print field names in viewtree.pl for better grammar debugging
  • BUGFIXES
    • Correctly implement Node->parent method
    • Handle UTF-8 source and query strings correctly; count offsets in chars not bytes

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