tree-sitter-cli
Advanced tools
Changelog
[0.22.3] — 2024-04-12
&&
(https://github.com/tree-sitter/tree-sitter/pull/3274)ts_subtree_string
(https://github.com/tree-sitter/tree-sitter/pull/3191)/utf-8
flag for parsers using unicode symbols (https://github.com/tree-sitter/tree-sitter/pull/3223)build-wasm
temporarily (https://github.com/tree-sitter/tree-sitter/pull/3203)build --wasm
should use current_dir (https://github.com/tree-sitter/tree-sitter/pull/3203)QueryCursor::captures()
(https://github.com/tree-sitter/tree-sitter/pull/3266)build.rs
Changelog
[0.22.2] — 2024-03-17
Parser::included_ranges
Parser.getIncludedRanges()
(https://github.com/tree-sitter/tree-sitter/pull/3164)array_grow_by
(https://github.com/tree-sitter/tree-sitter/pull/3176)Changelog
[0.22.1] — 2024-03-10
Changelog
[0.22.0] — 2024-03-10
corpus
dir for tests
The cli will now only look in test/corpus
for testscurrent*
, is*
, and has*
methods properties (https://github.com/tree-sitter/tree-sitter/pull/3103)nan
with node-addon-api
and conditionally print logsscan-build
suggestions (unused assignment/garbage access) (https://github.com/tree-sitter/tree-sitter/pull/3056)||
comparison in parentheses when &&
is used (https://github.com/tree-sitter/tree-sitter/pull/3070)binding.cc
overwrite should replace PARSER_NAME
(https://github.com/tree-sitter/tree-sitter/pull/3116)__declspec(dllexport)
on windows (https://github.com/tree-sitter/tree-sitter/pull/3128)v
flag (https://github.com/tree-sitter/tree-sitter/pull/3154)types
after main
if it exists (https://github.com/tree-sitter/tree-sitter/pull/3122)--no-bindings
(https://github.com/tree-sitter/tree-sitter/pull/3123).npmignore
, populate Swift's exclude list (https://github.com/tree-sitter/tree-sitter/pull/3085)Cargo.toml
description (https://github.com/tree-sitter/tree-sitter/pull/3140)api.h
so ts_set_allocator
is visible (https://github.com/tree-sitter/tree-sitter/pull/3092)Ohm
language parserthe
's (https://github.com/tree-sitter/tree-sitter/pull/3120)cc
to remove annoying debug output (https://github.com/tree-sitter/tree-sitter/pull/3075)Cargo.lock
needs to be updated (https://github.com/tree-sitter/tree-sitter/pull/3066)subtree_compare
(https://github.com/tree-sitter/tree-sitter/pull/3111)Ohm
language parser (https://github.com/tree-sitter/tree-sitter/pull/3114)binding_files.rs
(https://github.com/tree-sitter/tree-sitter/pull/3106)Changelog
[0.21.0] — 2024-02-21
Remove the apply-all-captures flag, make last-wins precedence the default
NOTE: This change might cause breakage in your grammar's highlight tests. Just flip the order around of the relevant queries, and keep in mind that the last query that matches will win.
extras
arraygrammar-path
argument for the playground (https://github.com/tree-sitter/tree-sitter/pull/3014)config-path
argument (https://github.com/tree-sitter/tree-sitter/pull/3050)Query.matches
when filtering out results (https://github.com/tree-sitter/tree-sitter/pull/3013)externals
map
in the grammar (https://github.com/tree-sitter/tree-sitter/pull/3041)long
for grammar_path
UNEXPECTED
/MISSING
nodes with an indentation level greater than 0token($.foo)
is illegalTSTreeCursor
(https://github.com/tree-sitter/tree-sitter/pull/3021)Tact
language parser (https://github.com/tree-sitter/tree-sitter/pull/3030)&PathBuf
-> &Path
(https://github.com/tree-sitter/tree-sitter/pull/3035)log.html
(https://github.com/tree-sitter/tree-sitter/pull/2996)token
/token.immediate
(https://github.com/tree-sitter/tree-sitter/pull/3036)Cargo.lock
github_issue_test
file (https://github.com/tree-sitter/tree-sitter/pull/3055)emcc
's stdout and stderr (https://github.com/tree-sitter/tree-sitter/pull/2494)SIDE_MODULE=2
to silence warning (https://github.com/tree-sitter/tree-sitter/pull/3003)