head	1.7;
access;
symbols
	pkgsrc-2026Q1:1.7.0.2
	pkgsrc-2026Q1-base:1.7
	pkgsrc-2025Q4:1.6.0.8
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.6
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.4
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.6.0.2
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.5.0.2
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.4.0.2
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.3.0.4
	pkgsrc-2024Q2-base:1.3
	pkgsrc-2024Q1:1.3.0.2
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.1.0.14
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.12
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.10
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.8
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.6
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.4
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.2
	pkgsrc-2022Q2-base:1.1;
locks; strict;
comment	@# @;


1.7
date	2025.12.20.22.28.43;	author wiz;	state Exp;
branches;
next	1.6;
commitid	ry4FXgqIHFtOncnG;

1.6
date	2025.02.02.15.54.45;	author wiz;	state Exp;
branches;
next	1.5;
commitid	1t2dpWgy4k0ewUHF;

1.5
date	2024.10.08.15.40.41;	author wiz;	state Exp;
branches;
next	1.4;
commitid	wYTMx6AuKfxJcSsF;

1.4
date	2024.09.13.09.59.13;	author wiz;	state Exp;
branches;
next	1.3;
commitid	FkVroZoWaZPo7DpF;

1.3
date	2024.03.17.14.19.18;	author wiz;	state Exp;
branches;
next	1.2;
commitid	90rjUg1aiZ8mlw2F;

1.2
date	2024.01.28.13.28.34;	author wiz;	state Exp;
branches;
next	1.1;
commitid	C8HnczN4ndPzDdWE;

1.1
date	2022.04.20.17.21.28;	author nia;	state Exp;
branches;
next	;
commitid	PxLUa3545bIRKXAD;


desc
@@


1.7
log
@tree-sitter: update to 0.26.3.

0.26.3

What's Changed

    docs(cli): fix wrong file path for Java bindings test by @@Marcono1234 in #5117
    ci(release): use node 24 by @@ObserverOfTime in #5120
    build(deps): cargo update by @@clason in #5125
    0.26.3 by @@clason in #5126

0.26.2

What's Changed

    build(deps): bump esbuild from 0.27.0 to 0.27.1 in /lib/binding_web in the npm group across 1 directory by @@dependabot[bot] in #5113
    0.26.x by @@WillLillis in #5115

0.26.1

What's Changed

    feat(cli): specify abi version via env var by @@ObserverOfTime in #4173
    ci: use ubuntu-22.04 for x64 builds by @@amaanq in #4175
    fix(lib): prevent finished_tree assertion failure by @@ribru17 in #4176
    build: do not define _POSIX_C_SOURCE on NetBSD by @@0-wiz-0 in #4181
    fix(web): provide type in the exports by @@robertohuertasm in #4185
    add generate crate to workspace & adjust to new clippy lints by @@amaanq in #4192
    refactor(web): rename tree-sitter.js to web-tree-sitter.js by @@amaanq in #4194
    feat: Windows support using MinGW-w64 by @@MisterDA in #4201
    Fix crash when loading languages w/ old ABI via wasm by @@maxbrunsfeld in #4210
    Ignore external tokens that are zero-length and extra by @@maxbrunsfeld in #4213
    Reset result_symbol field of lexer in wasm memory in between invocations by @@maxbrunsfeld in #4218
    Decrease the MSRV for the tree-sitter-language crate by @@maxbrunsfeld in #4221
    fix(wasm): restore passing in ERROR to descendantsOfType by @@WillLillis in #4226
    typo: but is only works → but it only works by @@hippietrail in #4242
    adapt to new rust lints and tweak ci by @@WillLillis in #4249
    Mark all format-like macros for Clippy by @@nyurik in #4231
    fix symbol leak for character sets by @@polazarus in #4255
    Fix cases where error recovery could infinite loop by @@maxbrunsfeld in #4257
    fix(rust): adapt to new nightly lint by @@WillLillis in #4254
    fix(lib): remove duplicate TSLanguageMetadata typedef by @@notxvilka in #4268
    rust bindings: Add information about using WASM grammar files to README by @@lucifayr in #4235
    Update build.zig.zon for zig master/0.14 by @@nihklas in #4258
    fix(docs): update test command flag from -f to -i by @@jonshea in #4263
    fix(cli): properly escape invisible characters in parse error output by @@WillLillis in #4276
    feat(lib): quote invalid nodes, fields, and captures by @@ribru17 in #4278
    build(deps): bump ring from 0.17.8 to 0.17.13 by @@dependabot[bot] in #4272
    fix(build): bump version to 0.26.0 by @@clason in #4282
    fix(xtask): error if new version supplied to xtask is less than or equal to current version by @@WillLillis in #4287
    fix(make): make install shouldn’t fail when a parser bundles no queries by @@mavit in #4284
    Change (Node | null)[] return types to Node[] by @@tmr232 in #4283
    build(deps): bump the cargo group across 1 directory with 21 updates by @@dependabot[bot] in #4275
    chore(cli): remove deprecated --no-bindings flag from generate command by @@WillLillis in #4292
    build.zig.zon: Fix package hashes for Zig 0.14 by @@JacobCrabill in #4301
    build(deps): bump the cargo group across 1 directory with 8 updates by @@dependabot[bot] in #4307
    fix(rust): address new clippy lint for pointer comparisons by @@WillLillis in #4305
    fix(rust): use core crates for no_std by @@Tiggilyboo in #4303
    build(deps): update emscripten to v4.0.5 by @@clason in #4309
    fix(rust): address new nightly lint for pointer comparisons by @@WillLillis in #4313
    fix(highlight): account for multiple rows in highlight testing assertions by @@WillLillis in #4333
    docs: Fix link to named-vs-anonymous-nodes section by @@ZedThree in #4328
    Fix typo of "corresponds" by @@bernardosulzbach in #4340
    build(deps): bump the cargo group across 1 directory with 5 updates by @@dependabot[bot] in #4342
    ci: bump actions/create-github-app-token from 1 to 2 in the actions group by @@dependabot[bot] in #4341
    Add @@generated to parser.c header by @@edgarogh in #4338
    Fix WASI build by not calling a non-existent function. by @@jaboatman in #4343
    fix(rust): clarify error message for non-token reserved words by @@jonshea in #4323
    Make highlighting more deterministic when themes are ambiguous by @@narpfel in #4327
    fix(lib): reset parser options after use by @@ribru17 in #4355
    fix(bindings): report wasm store error in rust bindings set_language by @@WillLillis in #4348
    build(deps): bump the cargo group with 4 updates by @@dependabot[bot] in #4360
    fix(xtask): trim EMSCRIPTEN_TAG arg to docker command in build-wasm command by @@WillLillis in #4365
    fix(web): correct childWithDescendant() functionality by @@ribru17 in #4363
    Tidy up the docs in auto-generated Rust bindings by @@LikeLakers2 in #4294
    binding_web: replace dynamic require with import by @@tmr232 in #4304
    Refine the documentation and command line help for "parse --edits" by @@danielpunkass in #4191
    export wasm files to better support bundling use cases by @@vemoo in #4208
    build(deps): bump vite from 6.1.0 to 6.2.6 in /lib/binding_web by @@dependabot[bot] in #4352
    style(cli): formatting by @@amaanq in #4373
    fix(ci): increase timeouts for flaky tests by @@WillLillis in #4371
    perf(highlight): use BTreeMap over IndexMap for highlight configs by @@WillLillis in #4372
    build(deps): bump the cargo group with 2 updates by @@dependabot[bot] in #4386
    Fixed typo in parsing explanation by @@Tamchuk in #4388
    cli: Compile parsers to wasm using wasi-sdk, not emscripten by @@maxbrunsfeld in #4393
    Fix wasm build issues introduced by switching to wasi-sdk by @@maxbrunsfeld in #4407
    fix(xtask): properly trim emscripten version at the source by @@WillLillis in #4402
    fix(parse): mark logging closure as move by @@WillLillis in #4406
    docs(rust): remove adding cc as a build dependency for consumers by @@amaanq in #4409
    fix(generate): mark url as a Windows-only dependency by @@amaanq in #4411
    build(deps): bump the cargo group with 3 updates by @@dependabot[bot] in #4416
    fix(lib): do not access the alias sequence for the end subtree in ts_subtree_summarize_children by @@amaanq in #4414
    build(deps): bump vite from 6.3.2 to 6.3.4 in /lib/binding_web by @@dependabot[bot] in #4419
    fix(rust): address some new nightly clippy lints by @@WillLillis in #4424
    fix(query): correct last_child_step_index in cases where a new step wasn't created. by @@WillLillis in #4422
    build(deps): bump the cargo group with 2 updates by @@dependabot[bot] in #4433
    fix(lib): return early for empty predicate step slice by @@WillLillis in #4440
    build(deps): bump the cargo group with 6 updates by @@dependabot[bot] in #4444
    illumos has endian.h by @@papertigers in #4450
    build(deps): bump cc from 1.2.22 to 1.2.23 in the cargo group by @@dependabot[bot] in https://github.com/tree-s...
@
text
@@@comment $NetBSD: PLIST,v 1.6 2025/02/02 15:54:45 wiz Exp $
include/tree_sitter/api.h
lib/libtree-sitter.a
lib/libtree-sitter.so
lib/libtree-sitter.so.0
lib/libtree-sitter.so.0.26
lib/pkgconfig/tree-sitter.pc
@


1.6
log
@tree-sitter: update to 0.25.1.

Fix pkg-config file path.

Features

    cli: Specify abi version via env var (#4173)

Bug Fixes

    bindings: Correct Zig bindings to expose a language function
    lib: Prevent finished_tree assertion failure (#4176)

Documentation

    Correct build steps for WASM files

Build System and CI

    Use ubuntu-22.04 for x64 builds (#4175)
    Bump version to 0.25.1

Other

    rust: Correct doc comments

0.25.0

Notices

This is a large release. As such, a few major changes and how to adapt to them are outlined below:

    web-tree-sitter was rewritten in TypeScript. With that, we also now publish the sourcemaps, and debug builds for the library. We also publish both CommonJS and ESM modules.
    The internal ABI was bumped to 15. The main benefits this brings is that the language name, version, supertype info, and reserved words are added to the parsers. To use ABI 15, you must have a tree-sitter.json file in your repository, since the version information for the parser is pulled from this file.
    Parsing and Querying should be cancelled using the "progress callback", rather than setting a timeout or a cancellation flag, which are now deprecated. To do so, use the "parse/query with options" function in the bindings you choose to use, in the next release the old way of timing out parsing will be removed, which allows us to get rid of our dependency on the time.h headers in the core library.
    MISSING nodes can now be queried, and queries involving supertypes are properly validated now.
    The ts_node_child_containing_descendant function was removed; use ts_node_child_with_descendant instead (which has nearly the same behavior but can also return descendant.)
    TSInput now includes a (mandatory) new field DecodeFunction, which allows passing a custom decode function. To use the builtin function, pass NULL.
    In the DSL, there is now a RustRegex function, which takes in a Rust regex as a string. All of the capabilities of Rust's regex engine are available here, which allows for some nice features that aren't possible with JavaScript regexes.
    We've migrated our documentation to mdBook, and greatly improved the docs.

Breaking

    Properly handle UTF-16 endianness encoding (#3740)
    Bump internal abi to 15 (#3803)
    Update playground with new web bindings (#4121)
    bindings: Update swift bindings (#4154)
    cli: Remove migration code for tree-sitter.json (#4107)
    generate: Use regex_syntax::Hir for expanding regexes (#3831)
    lib: Remove ts_node_child_containing_descendant (#4107)
    lib: Add the ability to specify a custom decode function (#3833)
    web: Rewrite the library in TypeScript (#4121)
    web: Use the WASM module in the bindings, and not the other way around (#4121)
    web: Rename pattern to patternIndex in QueryMatch (#4141)
    web: Deprecate Language.query in favor of new Query (#4141)

Features

    Drop legacy binding updates (#3734)
    Bump version to 0.25 (#3752)
    Allow setting the output directory for generated source files (#2614)
    Move scripts to xtasks (#3758)
    Add CST pretty-printer for parser output (#3762)
    Add version subcommand for versioning grammars (#3786)
    Add build sha to parser.c header comment (#3828)
    Implement a cache for get_column (#2503)
    Generate schema in tree-sitter.json (#3947)
    Support querying missing nodes (#3887)
    Add flag to output css classes instead of inline styles in HTML highlighter output (#3879)
    Add xtask to bump emscripten-version (#4015)
    Add 'reserved word' construct (#3896)
    Add Supertype API (#3938)
    Support passing in a Rust regex in the grammar dsl (#4076)
    Allow parser balancing to be cancellable (#4122)
    Remove lazy_static in favor of LazyLock (#4130)
    Add and apply eslint config (#4121)
    Begin autogenerating web-tree-sitter.d.ts (#4121)
    Publish both CJS and ESM files (#4121)
    Add a patternIndex field to QueryCapture (#4141)
    Improve PredicateStep types (#4141)
    Add the semantic version to TSLanguage, and expose an API for retrieving it (#4135)
    Add error information in the progress callback (#3987)
    bindings: Auto-detect scanners (#3809)
    bindings: Drop language name from node (#3184)
    bindings: Update some binding files (#3952)
    bindings: Drop python 3.9 support (#3799)
    bindings: Support free-threaded python build (#3799)
    bindings: Add opt-in zig bindings (#4144)
    bindings: Use cc 1.2 for Rust (#4156)
    cli: Verify assertions for every carat in tests, not just the first one (#3927)
    cli: Add nushell completions (#4000)
    cli: Don't validate email addresses in init command (#3999)
    cli: Show parse times in testing output (#3939)
    cli: Display parse and edit times separately for parse --time (#4016)
    cli: Make input handling agnostic (#4054)
    cli: Rework parse to use new input handler (#4054)
    cli: Rework query to use new input handler (#4054)
    cli: Rework highlight to use new input handler (#4054)
    cli: Rework tags to use new input handler (#4054)
    cli: Add json summary of parsing (#4048)
    cli: Allow test subcommand to include/exclude by corpus test file names (#4095)
    cli: Improve readability of parse debug output (#4118)
    generate: Add a comment with the tree-sitter version (#3825)
    generate: Add .exp and .lib files to gitignore template (#4079)
    generate: Explicitly disallow non-terminals in non-terminals (#4111)
    generate: Properly filter out unused rules (#4111)
    generate: Add an extra field for extra nodes in node-types.json (#4116)
    generate: Defer to ABI 14 if tree-sitter.json doesn't exist, rather than hard failing (#4156)
    highlight: Mark TSHighlighter fields as pub (#3990)
    init: Allow dashes in scopes (#4142)
    init: Add an optional funding field (#4142)
    init: Add a class-name field to grammars (#4142)
    init: Add a title field to grammars (#4142)
    lib: Wrap subtrees with changes in green circles (#3741)
    lib: Add the language name (#3184)
    lib: Add ts_parser_parse_with_options (#3843)
    lib: Add ts_query_cursor_exec_with_options (#3843)
    lib: Use const for TSCharacterRanges (#4027)
    lib: Implement Send + Sync for WasmStore (#4130)
    loader: Add language_for_configuration (#3816)
    loader: Add error message when a tree-sitter.json file is invalid (#3897)
    loader: Support multi-barreled file extensions (#3880)...
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.5 2024/10/08 15:40:41 wiz Exp $
d6 1
a6 1
lib/libtree-sitter.so.0.25
@


1.5
log
@tree-sitter: update to 0.24.2.

[0.24.2] - 2024-10-06

Features

    Drop legacy binding updates

Bug Fixes

    templates: Properly replace author email

Build System and CI

    bindings: Improve cmake file
    cmake: Support amalgamated build
    cmake: Correct library scopes
    make: Fix tree-sitter.pc generation (#3745)

Other

    templates: Update npm packages

[0.24.1] - 2024-10-04

Bug Fixes

    generate: Move generated header files into the generate crate

[0.24.0] - 2024-10-04

Breaking

    Remove C++ support for external scanners (#3602)
    Remove filter flag from commands in favor of include and exclude (#3604)
    Remove the build-wasm subcommand (#3605)
    Move generation of grammar files to an init command (#3694)
    Implement StreamingIterator instead of Iterator for QueryMatches and QueryCaptures (#3504)
    generate: Remove unused rules (#3722)
    lib: Child_containing_descendant now returns direct children (#3703)
    lib: Treat nodes' end ranges exclusively in goto_first_child_for_{byte,point} (#3263)

Features

    Add an API to time out query executions (#3559)
    Add field_name_for_named_child (#3614)
    Add root field in node-types.json (#3615)
    Add eslint configuration package (#3666)
    Provide a rebuild flag to force rebuild parsers (#3672)
    Add shell completions (#3675)
    Move generate logic to its own crate (#3689)
    Add --overview-only to test subcommand (#3501)
    Move tree-sitter configuration to dedicated file (#3700) (#3700)
    api: Expose function to check if symbol represents a supertype (#3616)
    bindings: Bump go-tree-sitter version (#3564)
    cli: Add a no-ranges flag to the parse command (#3687)
    generate: Bump tree-sitter dev dependency to 0.23 (#3563)
    generate: Add a no-op --no-bindings flag
    init: Add an update flag (#3698)
    language: Derive Clone and Copy on LanguageFn (#3585)
    schema: Misc improvements (#3681)
    test: Test all queries

Bug Fixes

    Correct comment quote (#3630)
    Properly handle utf8 code points for highlight and tag assertions (#3610)
    Do not generate spurious files if the grammar path is not the default path (#3677)
    Disallow empty string literals in rules (#3679)
    Correct test name parsing when the prior test has equal signs (#3704)
    Handle more cases of editing subtrees that depend on column values (#3257)
    Exclude APIs that dup given file descriptors from WASI builds (#3475)
    Deprecate child_containing_descendant and add child_with_descendant instead (#3708)
    binding_web: Correct edit signature (#3599)
    binding_web: Remove nonexistent function definition (#3612)
    bindings: Use RUST_BINDING_VERSION in Cargo.toml template
    bindings: Lower go version to 1.22 (#3711)
    build: Correct wasm root path lookup (#3723)
    build: Force rebuild parsers when build is invoked (#3729)
    cli: Remove conflicting short flags in the fuzz subcommand (#3562)
    cli: Keep skipped tests unchanged in the test/corpus (#3590)
    cli: Remove duplicate short options from fuzz command (#3635) (#3635)
    cli: Generate the parser version from the config as well
    docs: Fix highlight readme example using compatible versions (#3573)
    fuzz: Skip tests marked with :skip & don't report errors on tests marked with :error (#3640)
    generate: Remove necessary files from gitignore template (#3561)
    generate: Disallow inline variables referencing themselves (#3569)
    generate: Add tree-sitter to the dev-dependencies of the Cargo.toml (#3597)
    generate: Do not generate large character sets for unused variables (#3606)
    generate: Remove excludes in Package.swift (#3631)
    generate: Add *.scm section to .editorconfig template (#3724)
    generate: Filter out unused rules in other spots (#3726)
    init: Fix some schema issues
    init: Don't prompt to reconfigure (#3713)
    init: Do not migrate package.json on error (#3718)
    lib: Correct extra node creation from non-zero root-alias cursors (#3568)
    lib: Backtrack to the last relevant iterator if no child was found (#3570)
    lib: Peek at the next sibling when iterating to find the child that contains a given descendant (#3566)
    lib: Correct descendant-for-range behavior with zero-width tokens (#3688)
    lib: Silence warnings with -Wpedantic (#3691)
    lib: Ensure an unfinished state was found before removing it (#3727)
    rust: Add missing TSNode functions (#3571)
    test: Exit with an error if a test marked with :error has no error
    test: Retain attributes when running test -u (#3572)
    test: Correctly handle assertions on empty lines (#3674)
    wasm: Use / paths for workdir (#3658)

Documentation

    Add Kotlin to the playground (#3560)
    changelog: Add 0.23.0 release notes (#3565)

Refactor

    Improve the grammar schema
    cli: Break out subcommand logic into separate functions (#3676)

Build System and CI

    Add backport workflow (#3575)
    Bump deps (#3696)
    Bump language to 0.1.1 (#3730)
    bindings: Add CMakeLists.txt file (#3608)
    cmake: Link wasmtime dependencies (#3717)
    deps: Bump the cargo group across 1 directory with 11 updates (#3644)
    deps: Bump the cargo group with 3 updates (#3671)
    lib: Build using cmake (#3541)
    make: Support darwin cross-compile (#3641)
    xtask: Bump cmake version in bump-version
    xtask: Only consider major and minor versions when validating the current version
    xtask: Ignore the language crate

Other

    Remove compile_flags.txt (#3667)
    Update generate crate paths (#3697)
    bindings: Update rust lib docs (#3621)
    lib: Add parameter names in declarations that are missing them (#3692)
    tests: Do not use .as_bytes().len() on strings (#3664)
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.4 2024/09/13 09:59:13 wiz Exp $
d6 1
a6 1
lib/libtree-sitter.so.0.24
@


1.4
log
@tree-sitter: update to 0.23.0.

[0.23.0] - 2024-08-26

Breaking

    Introduce tree-sitter-language crate for grammar crates to depend on (#3069)
    Revert interning of a sequence or choice of a single rule (#3548)
    bindings: Use capsules in python (#3384)
    dsl: Support other JS runtimes (#3355)

Features

    Add fuzz subcommand (#3385)
    Allow external scanners to use the logger (#3204)
    bindings: Add query constants to python
    bindings: Add node, python, swift tests (#3178)
    bindings: Update npm scripts (#3210)
    cli: Bump unicode data to v15.1.0
    cli: Add debug build flag (#3279)
    cli: Attach helpful context when grammar.json cannot be found (#3405)
    cli: Add --show-fields flag to test command (#3502)
    lib: Add ts_query_end_byte_for_pattern (#3451)
    lib: Support no_std
    zig: Update outdated path syntax (#3383)

Bug Fixes

    Always reset to the first language when iterating over language attributes (#3375)
    Better error when a supertype rule is invalid (#3400)
    Intern a sequence or choice of a single element the same as the element itself
    Do not "absorb" rules that consist of a single terminal if the rule is hidden (#2577)
    bindings: Update go bindings (#3544)
    cli: Installation via authenticated proxy (#3414)
    cli: Dedup preceding_auxiliary_symbols (#3550)
    dsl: Improve error message when a rule function returns undefined (#3452)
    generate: Rename cargo.toml template (#3532)
    go: Update parser name in binding files, add to docs (#3547)
    lib: A null clock must have tv_nsec be 0 as well (#3372)
    lib: Restrict pattern_map optimization when a wildcard step has an immediate first child (#3440)
    lib: An empty root node should not precede an empty range (#3450)
    lib: Fix api header C++ interop (#3534)
    make: Fail properly on Windows (#3418)
    rust: Fetch CARGO_MANIFEST_DIR at runtime in build script (#3352)
    rust: Fix new clippy warnings (#3491)
    test: Multi-grammar corpus tests are now in the repo root (#3342)
    wasm: Update test

Performance

    Hoist out common subexpressions in satisfies_text_predicates (#3397)

Documentation

    Update changelog
    Remove duplicate pr # in changelog
    Add note for bullet
    Fix syntax highlighting unit testing example (#3434)
    Add tsserver annotation to example (#3460)
    Fix tree cursor documentation (#3324)
    Document rust library features (#3395)
    Clean up binding & parser lists (#3443)

Refactor

    Remove ansi_term dependency (#3387)
    Remove difference dependency (#3388)
    scripts: Clean up bash scripts (#3231)

Testing

    Modernize scanner files (#3340)

Build System and CI

    deps: bump wasmtime, cc, and wasmparser (#3529
    bindings: Use language version in soname (#3308)
    lib: Include the minor in the soname
    loader: Make dependencies optional (#1638)
    swift: Declare header search path (#3474)
    wasm: Don't minify JS (#3380)
    wasm: Bump emscripten to 3.1.64 (#3497)
    wasm: Support big endian machines (#3492)
    zig: Git ignore updated Zig cache directory (#3408)

Other

    Swap sprintf() for snprintf() (#3430)
    Add .build to gitignore (#3498)
    Reset language when resetting wasm store (#3495)
    Clone wasm store engine (#3542)
    bindings: Fix indent & line endings (#3284)
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.3 2024/03/17 14:19:18 wiz Exp $
d6 1
a6 1
lib/libtree-sitter.so.0.23
@


1.3
log
@tree-sitter: update to 0.22.2.

0.22.2

Install bugfix.

0.22.1

Bug Fixes

    Cli build script behavior on release


0.22.0

Breaking

    Remove top-level corpus dir for tests
    The cli will now only look in test/corpus for tests
    Remove redundant escape regex & curly brace regex preprocessing (#2838)
    bindings: Convert node bindings to NAPI (#3077)
    wasm: Make current*, is*, and has* methods properties (#3103)
    wasm: Keep API in-line with upstream and start aligning with node (#3149)

Features

    Add xtasks to assist with bumping crates (#3065)
    Improve language bindings (#2438)
    Expose the allocator and array header files for external scanners (#3063)
    Add typings for the node bindings
    Replace nan with node-addon-api and conditionally print logs
    bindings: Add more make targets
    bindings: Add peerDependencies for npm
    bindings: Add prebuildify to node
    bindings: Remove dsl types file (#3126)
    node: Type tag the language (#3109)
    test: Add attributes for corpus tests

Bug Fixes

    Apply some scan-build suggestions (unused assignment/garbage access) (#3056)
    Wrap || comparison in parentheses when && is used (#3070)
    Ignore unused variables in the array macros (#3083)
    binding.cc overwrite should replace PARSER_NAME (#3116)
    Don't use __declspec(dllexport) on windows (#3128)
    Parsers should export the language function on windows
    Allow the regex v flag (#3154)
    assertions: Case shouldn't matter for comment node detection
    bindings: Editorconfig and setup.py fixes (#3082)
    bindings: Insert types after main if it exists (#3122)
    bindings: Fix template oversights (#3155)
    cli: Only output the sources with --no-bindings (#3123)
    generate: Add .npmignore, populate Swift's exclude list (#3085)
    generate: Extern allocator functions for the template don't need to be "exported" (#3132)
    generate: Camel case name in Cargo.toml description (#3140)
    lib: Include api.h so ts_set_allocator is visible (#3092)

Documentation

    Add GitHub user and PR info to the changelog
    Add css for inline code (#2844)
    Document test attributes
    Add Ohm language parser
    Remove duplicate the's (#3120)
    Add discord and matrix badges (#3148)

Refactor

    Rename TS_REUSE_ALLOCATOR flag (#3088)
    Remove extern/const where possible
    array: Use pragma GCC in clang too
    bindings: Remove npmignore (#3089)

Testing

    Don't use TS_REUSE_ALLOCATOR on Darwin systems (#3087)
    Add test case for parse stack merging with incorrect error cost bug (#3098)

Build System and CI

    Improve changelog settings (#3064)
    Unify crate versions via workspace (#3074)
    Update cc to remove annoying debug output (#3075)
    Adjust dependabot settings (#3079)
    Use c11 everywhere
    Add uninstall command
    Don't skip tests on failing lint (#3102)
    Remove unused deps, bump deps, and bump MSRV to 1.74.1 (#3153)
    bindings: Metadata improvements
    bindings: Make everything c11 (#3099)
    dependabot: Update weekly instead of daily (#3112)
    deps: Bump the cargo group with 1 update (#3081)
    deps: Bump the cargo group with 1 update (#3097)
    deps: Bump deps & lockfile (#3060)
    deps: Bump the cargo group with 4 updates (#3134)
    lint: Detect if Cargo.lock needs to be updated (#3066)
    lint: Make lockfile check quiet (#3078)
    swift: Move 'cLanguageStandard' behind 'targets' (#3101)

Other

    Make Node.js language bindings context aware (#2841)
    They don't have any dynamic global data, so all it takes is just declaring them as such
    Fix crash when attempting to load ancient languages via wasm (#3068)
    Use workspace dependencies for internal crates like Tree-sitter (#3076)
    Remove vendored wasmtime headers (#3084)
    When building rust binding, use wasmtime headers provided via cargo
    by the wasmtime-c-api crate.
    Fix invalid parse stack recursive merging with mismatched error cost (#3086)
    Allowing this invalid merge caused an invariant to be violated
    later on during parsing, when handling a later error.
    Fix regression in subtree_compare (#3111)
    docs: Add Ohm language parser (#3114)
    Delete binding_files.rs (#3106)
    bindings: Consistent wording (#3096)
    bindings: Ignore more artifacts (#3119)
@
text
@d1 1
a1 1
@@comment $NetBSD$
d6 1
a6 1
lib/libtree-sitter.so.0.22
@


1.2
log
@tree-sitter: update to 0.20.9.

Changes not found.
@
text
@d6 1
a6 1
lib/libtree-sitter.so.0.0
@


1.1
log
@textproc: add tree-sitter

Tree-sitter is a parser generator tool and an incremental parsing
library. It can build a concrete syntax tree for a source file and
efficiently update the syntax tree as the source file is edited.
@
text
@a2 1
include/tree_sitter/parser.h
@

