An incremental parsing system for programming tools
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)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)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)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)ts_parser__set_cached_token
by @mattmassicotte in https://github.com/tree-sitter/tree-sitter/pull/1879
M/U
by @mliszcz in https://github.com/tree-sitter/tree-sitter/pull/1941
TREE_SITTER_DEBUG
in the test sub command by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2020
TREE_SITTER_DIR
by @sogaiu in https://github.com/tree-sitter/tree-sitter/pull/2035
clock.h
by @paf31 in https://github.com/tree-sitter/tree-sitter/pull/1990
Full Changelog: https://github.com/tree-sitter/tree-sitter/compare/v0.20.7...v0.20.8