Swiftpack.co - Swift Packages by tree-sitter

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by tree-sitter

tree-sitter/tree-sitter v0.22.5
An incremental parsing system for programming tools
⭐️ 16,437
πŸ•“ 1 week ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.22.5
1 week ago
v0.22.4
1 week ago
v0.22.3
1 week ago
v0.22.2
5 weeks ago
v0.22.1
6 weeks ago
# Changelog ## [0.22.1] β€” 2024-03-10 ### Bug Fixes - Cli build script behavior on release
v0.22.0
6 weeks ago
# Changelog ## [0.22.0] β€” 2024-03-10 ### 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 (<https://github.com/tree-sitter/tree-sitter/pull/2838>) - **bindings**: Convert node bindings to NAPI (<https://github.com/tree-sitter/tree-sitter/pull/3077>) - **wasm**: Make `current*`, `is*`, and `has*` methods properties (<https://github.com/tree-sitter/tree-sitter/pull/3103>) - **wasm**: Keep API in-line with upstream and start aligning with node (<https://github.com/tree-sitter/tree-sitter/pull/3149>) ### Features - Add xtasks to assist with bumping crates (<https://github.com/tree-sitter/tree-sitter/pull/3065>) - Improve language bindings (<https://github.com/tree-sitter/tree-sitter/pull/2438>) - Expose the allocator and array header files for external scanners (<https://github.com/tree-sitter/tree-sitter/pull/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 (<https://github.com/tree-sitter/tree-sitter/pull/3126>) - **node**: Type tag the language (<https://github.com/tree-sitter/tree-sitter/pull/3109>) - **test**: Add attributes for corpus tests ### Bug Fixes - Apply some `scan-build` suggestions (unused assignment/garbage access) (<https://github.com/tree-sitter/tree-sitter/pull/3056>) - Wrap `||` comparison in parentheses when `&&` is used (<https://github.com/tree-sitter/tree-sitter/pull/3070>) - Ignore unused variables in the array macros (<https://github.com/tree-sitter/tree-sitter/pull/3083>) - `binding.cc` overwrite should replace `PARSER_NAME` (<https://github.com/tree-sitter/tree-sitter/pull/3116>) - Don't use `__declspec(dllexport)` on windows (<https://github.com/tree-sitter/tree-sitter/pull/3128>) - Parsers should export the language function on windows - Allow the regex `v` flag (<https://github.com/tree-sitter/tree-sitter/pull/3154>) - **assertions**: Case shouldn't matter for comment node detection - **bindings**: Editorconfig and setup.py fixes (<https://github.com/tree-sitter/tree-sitter/pull/3082>) - **bindings**: Insert `types` after `main` if it exists (<https://github.com/tree-sitter/tree-sitter/pull/3122>) - **bindings**: Fix template oversights (<https://github.com/tree-sitter/tree-sitter/pull/3155>) - **cli**: Only output the sources with `--no-bindings` (<https://github.com/tree-sitter/tree-sitter/pull/3123>) - **generate**: Add `.npmignore`, populate Swift's exclude list (<https://github.com/tree-sitter/tree-sitter/pull/3085>) - **generate**: Extern allocator functions for the template don't need to be "exported" (<https://github.com/tree-sitter/tree-sitter/pull/3132>) - **generate**: Camel case name in `Cargo.toml` description (<https://github.com/tree-sitter/tree-sitter/pull/3140>) - **lib**: Include `api.h` so `ts_set_allocator` is visible (<https://github.com/tree-sitter/tree-sitter/pull/3092>) ### Documentation - Add GitHub user and PR info to the changelog - Add css for inline code (<https://github.com/tree-sitter/tree-sitter/pull/2844>) - Document test attributes - Add `Ohm` language parser - Remove duplicate `the`'s (<https://github.com/tree-sitter/tree-sitter/pull/3120>) - Add discord and matrix badges (<https://github.com/tree-sitter/tree-sitter/pull/3148>) ### Refactor - Rename TS_REUSE_ALLOCATOR flag (<https://github.com/tree-sitter/tree-sitter/pull/3088>) - Remove extern/const where possible - **array**: Use pragma GCC in clang too - **bindings**: Remove npmignore (<https://github.com/tree-sitter/tree-sitter/pull/3089>) ### Testing - Don't use TS_REUSE_ALLOCATOR on Darwin systems (<https://github.com/tree-sitter/tree-sitter/pull/3087>) - Add test case for parse stack merging with incorrect error cost bug (<https://github.com/tree-sitter/tree-sitter/pull/3098>) ### Build System and CI - Improve changelog settings (<https://github.com/tree-sitter/tree-sitter/pull/3064>) - Unify crate versions via workspace (<https://github.com/tree-sitter/tree-sitter/pull/3074>) - Update `cc` to remove annoying debug output (<https://github.com/tree-sitter/tree-sitter/pull/3075>) - Adjust dependabot settings (<https://github.com/tree-sitter/tree-sitter/pull/3079>) - Use c11 everywhere - Add uninstall command - Don't skip tests on failing lint (<https://github.com/tree-sitter/tree-sitter/pull/3102>) - Remove unused deps, bump deps, and bump MSRV to 1.74.1 (<https://github.com/tree-sitter/tree-sitter/pull/3153>) - **bindings**: Metadata improvements - **bindings**: Make everything c11 (<https://github.com/tree-sitter/tree-sitter/pull/3099>) - **dependabot**: Update weekly instead of daily (<https://github.com/tree-sitter/tree-sitter/pull/3112>) - **deps**: Bump the cargo group with 1 update (<https://github.com/tree-sitter/tree-sitter/pull/3081>) - **deps**: Bump the cargo group with 1 update (<https://github.com/tree-sitter/tree-sitter/pull/3097>) - **deps**: Bump deps & lockfile (<https://github.com/tree-sitter/tree-sitter/pull/3060>) - **deps**: Bump the cargo group with 4 updates (<https://github.com/tree-sitter/tree-sitter/pull/3134>) - **lint**: Detect if `Cargo.lock` needs to be updated (<https://github.com/tree-sitter/tree-sitter/pull/3066>) - **lint**: Make lockfile check quiet (<https://github.com/tree-sitter/tree-sitter/pull/3078>) - **swift**: Move 'cLanguageStandard' behind 'targets' (<https://github.com/tree-sitter/tree-sitter/pull/3101>) ### Other - Make Node.js language bindings context aware (<https://github.com/tree-sitter/tree-sitter/pull/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 (<https://github.com/tree-sitter/tree-sitter/pull/3068>) - Use workspace dependencies for internal crates like Tree-sitter (<https://github.com/tree-sitter/tree-sitter/pull/3076>) - Remove vendored wasmtime headers (https://github.com/tree-sitter/tree-sitter/pull/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 (<https://github.com/tree-sitter/tree-sitter/pull/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` (<https://github.com/tree-sitter/tree-sitter/pull/3111>) - docs: Add `Ohm` language parser (<https://github.com/tree-sitter/tree-sitter/pull/3114>) - Delete `binding_files.rs` (<https://github.com/tree-sitter/tree-sitter/pull/3106>) - **bindings**: Consistent wording (<https://github.com/tree-sitter/tree-sitter/pull/3096>) - **bindings**: Ignore more artifacts (<https://github.com/tree-sitter/tree-sitter/pull/3119>)
v0.21.0
8 weeks ago
# Changelog ## [0.21.0] - 2024-02-21 ### Breaking - 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. ### Features - Use lockfiles to dedup recompilation - Improve error message for files with an unknown grammar path (https://github.com/tree-sitter/tree-sitter/pull/2475) - Implement first-line-regex (https://github.com/tree-sitter/tree-sitter/pull/2479) - Error out if an empty string is in the `extras` array - Allow specifying an external scanner's files (https://github.com/tree-sitter/tree-sitter/pull/3031) - Better error info when a scanner is missing required symbols - **cli**: Add an optional `grammar-path` argument for the playground (https://github.com/tree-sitter/tree-sitter/pull/3014) - **cli**: Add optional `config-path` argument (https://github.com/tree-sitter/tree-sitter/pull/3050) - **loader**: Add more commonly used default parser directories ### Bug Fixes - Prettify xml output and add node position info (https://github.com/tree-sitter/tree-sitter/pull/2970) - Inherited grammar generation - Properly error out when the word property is an invalid rule - Update schema for regex flags (https://github.com/tree-sitter/tree-sitter/pull/3006) - Properly handle Query.matches when filtering out results (https://github.com/tree-sitter/tree-sitter/pull/3013) - Sexp format edge case with quoted closed parenthesis (https://github.com/tree-sitter/tree-sitter/pull/3016) - Always push the default files if there's no `externals` - Don't log NUL characters (https://github.com/tree-sitter/tree-sitter/pull/3037) - Don't throw an error if the user uses `map` in the grammar (https://github.com/tree-sitter/tree-sitter/pull/3041) - Remove redundant imports (https://github.com/tree-sitter/tree-sitter/pull/3047) - **cli**: Installation via a HTTP tunnel proxy (https://github.com/tree-sitter/tree-sitter/pull/2824) - **cli**: Don't update tests automatically if parse errors are detected (https://github.com/tree-sitter/tree-sitter/pull/3033) - **cli**: Don't use `long` for `grammar_path` - **test**: Allow writing updates to tests without erroneous nodes instead of denying all of them if a single error is found - **test**: Edge case when parsing `UNEXPECTED`/`MISSING` nodes with an indentation level greater than 0 - **wasm**: Remove C++ mangled symbols (https://github.com/tree-sitter/tree-sitter/pull/2971) ### Documentation - Create issue template (https://github.com/tree-sitter/tree-sitter/pull/2978) - Document regex limitations - Mention that `token($.foo)` is illegal - Explicitly mention behavior of walking outside the given "root" node for a `TSTreeCursor` (https://github.com/tree-sitter/tree-sitter/pull/3021) - Small fixes (https://github.com/tree-sitter/tree-sitter/pull/2987) - Add `Tact` language parser (https://github.com/tree-sitter/tree-sitter/pull/3030) - **web**: Provide deno usage information (https://github.com/tree-sitter/tree-sitter/pull/2498) ### Refactor - Extract regex check into a function and lower its precedence - `&PathBuf` -> `&Path` (https://github.com/tree-sitter/tree-sitter/pull/3035) - Name anonymous types in api.h (https://github.com/tree-sitter/tree-sitter/pull/1659) ### Testing - Add quotes around bash variables (https://github.com/tree-sitter/tree-sitter/pull/3023) - Update html tests ### Build System and CI - Only create release for normal semver tags (https://github.com/tree-sitter/tree-sitter/pull/2973) - Add useful development targets to makefile (https://github.com/tree-sitter/tree-sitter/pull/2979) - Remove minimum glibc information in summary page (https://github.com/tree-sitter/tree-sitter/pull/2988) - Use the native m1 mac runner (https://github.com/tree-sitter/tree-sitter/pull/2995) - Add editorconfig (https://github.com/tree-sitter/tree-sitter/pull/2998) - Remove symbolic links from repository (https://github.com/tree-sitter/tree-sitter/pull/2997) - Move common Cargo.toml keys into the workspace and inherit them (https://github.com/tree-sitter/tree-sitter/pull/3019) - Remove reviewers when drafting or closing a PR (https://github.com/tree-sitter/tree-sitter/pull/2963) - Enable creating changelogs with git-cliff (https://github.com/tree-sitter/tree-sitter/pull/3040) - Cache fixtures (https://github.com/tree-sitter/tree-sitter/pull/3038) - Don't cancel jobs on master (https://github.com/tree-sitter/tree-sitter/pull/3052) - Relax caching requirements (https://github.com/tree-sitter/tree-sitter/pull/3051) - **deps**: Bump clap from 4.4.18 to 4.5.0 (https://github.com/tree-sitter/tree-sitter/pull/3007) - **deps**: Bump wasmtime from v16.0.0 to v17.0.1 (https://github.com/tree-sitter/tree-sitter/pull/3008) - **deps**: Bump wasmtime to v18.0.1 (https://github.com/tree-sitter/tree-sitter/pull/3057) - **sanitize**: Add a timeout of 60 minutes (https://github.com/tree-sitter/tree-sitter/pull/3017) - **sanitize**: Reduce timeout to 20 minutes (https://github.com/tree-sitter/tree-sitter/pull/3054) ### Other - Document preferred language for scanner (https://github.com/tree-sitter/tree-sitter/pull/2972) - Add java and tsx to corpus tests (https://github.com/tree-sitter/tree-sitter/pull/2992) - Provide a CLI flag to open `log.html` (https://github.com/tree-sitter/tree-sitter/pull/2996) - Some more clippy lints (https://github.com/tree-sitter/tree-sitter/pull/3010) - Remove deprecated query parsing mechanism (https://github.com/tree-sitter/tree-sitter/pull/3011) - Print out full compiler arguments ran when it fails (https://github.com/tree-sitter/tree-sitter/pull/3018) - Deprecate C++ scanners (https://github.com/tree-sitter/tree-sitter/pull/3020) - Add some documentation to the playground page (https://github.com/tree-sitter/tree-sitter/pull/1495) - Update relevant rust tests (https://github.com/tree-sitter/tree-sitter/pull/2947) - Clippy lints (https://github.com/tree-sitter/tree-sitter/pull/3032) - Error out when multiple arguments are passed to `token`/`token.immediate` (https://github.com/tree-sitter/tree-sitter/pull/3036) - Tidying - Prefer turbofish syntax where possible (https://github.com/tree-sitter/tree-sitter/pull/3048) - Use published wasmtime crates - Cleaner cast - Update Cargo.lock - Get rid of `github_issue_test` file (https://github.com/tree-sitter/tree-sitter/pull/3055) - **cli**: Use spawn to display `emcc`'s stdout and stderr (https://github.com/tree-sitter/tree-sitter/pull/2494) - **cli**: Warn users when a query path needed for a subcommand isn't specified in a grammar's package.json - **generate**: Dedup and warn about duplicate or invalid rules (https://github.com/tree-sitter/tree-sitter/pull/2994) - **test**: Use different languages for async tests (https://github.com/tree-sitter/tree-sitter/pull/2953) - **wasm**: Use `SIDE_MODULE=2` to silence warning (https://github.com/tree-sitter/tree-sitter/pull/3003)
v0.21.0-pre-release-1
10 weeks ago
v0.20.9
12 weeks ago
v0.20.8
1 year ago
## What's Changed * Change integer type in `ts_parser__set_cached_token` by @mattmassicotte in https://github.com/tree-sitter/tree-sitter/pull/1879 * Explicit integer sizes for array capacity by @mattmassicotte in https://github.com/tree-sitter/tree-sitter/pull/1881 * Resolving a crash when freeing a null pointer when cancelling parses by @logancollins in https://github.com/tree-sitter/tree-sitter/pull/1938 * Add note about including an external scanner in Rust crate by @J3RN in https://github.com/tree-sitter/tree-sitter/pull/1936 * Allow retrieving a tree's list of included ranges, fix some included range bugs by @maxbrunsfeld in https://github.com/tree-sitter/tree-sitter/pull/1952 * Allow web-tree-sitter to work with Emscripten 3 by @J3RN in https://github.com/tree-sitter/tree-sitter/pull/1913 * Fix test output formatting for rules starting with `M/U` by @mliszcz in https://github.com/tree-sitter/tree-sitter/pull/1941 * Fix racing on playground webserver port binding by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/1953 * Fix wasm tests and bump Emscripten version to 3.1.29 by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2014 * Add possibility to customize path to generated dynamically loaded libraries. Closes #1336 by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2013 * Add setting `TREE_SITTER_DEBUG` in the test sub command by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2020 * Produce smaller CLI release binary by stripping debug info by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2031 * Improve CLI init-config command with respect to `TREE_SITTER_DIR` by @sogaiu in https://github.com/tree-sitter/tree-sitter/pull/2035 * Fix possible rollover of nanoseconds in `clock.h` by @paf31 in https://github.com/tree-sitter/tree-sitter/pull/1990 * Derive Hash for Language in Rust binding by @Ekleog in https://github.com/tree-sitter/tree-sitter/pull/2080 * Improve the performance of running a query in a small range of a large file by @maxbrunsfeld in https://github.com/tree-sitter/tree-sitter/pull/2085 * Make all tests run in a reliable way by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2135 * New workflow for CI/CD with more release assets by @ahlinc in https://github.com/tree-sitter/tree-sitter/pull/2167 **Full Changelog**: https://github.com/tree-sitter/tree-sitter/compare/v0.20.7...v0.20.8
tree-sitter/tree-sitter-javascript v0.21.0
Javascript grammar for tree-sitter
⭐️ 311
πŸ•“ 2 weeks ago
tree-sitter/tree-sitter-rust v0.21.0
Rust grammar for tree-sitter
⭐️ 307
πŸ•“ 2 weeks ago
tree-sitter/tree-sitter-python v0.21.0
Python grammar for tree-sitter
⭐️ 306
πŸ•“ 6 weeks ago
iOS macOS
tree-sitter/tree-sitter-go v0.21.0
Go grammar for tree-sitter
⭐️ 278
πŸ•“ 2 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.20.0
37 weeks ago
## What's Changed * Switch to GH Actions CI. by @patrickt in https://github.com/tree-sitter/tree-sitter-go/pull/41 * Add the same PR template as for tree-sitter-javascript by @mjambon in https://github.com/tree-sitter/tree-sitter-go/pull/43 * Update package.json to include the repository key by @msftenhanceprovenance in https://github.com/tree-sitter/tree-sitter-go/pull/50 * Loosen Rust crate's tree-sitter dependency by @dcreager in https://github.com/tree-sitter/tree-sitter-go/pull/52 * adding make support by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-go/pull/56 * feat: treat iota as predeclared identifier by @kawaemon in https://github.com/tree-sitter/tree-sitter-go/pull/58 * feat: add support to parse of type parameters by @kawaemon in https://github.com/tree-sitter/tree-sitter-go/pull/57 * feat: allow to put type arguments in calling expressions by @kawaemon in https://github.com/tree-sitter/tree-sitter-go/pull/59 * Update C code by @aryx in https://github.com/tree-sitter/tree-sitter-go/pull/66 * Document reason for statements at top level by @adonovan in https://github.com/tree-sitter/tree-sitter-go/pull/67 * Make method bodies non-optional by @adonovan in https://github.com/tree-sitter/tree-sitter-go/pull/68 * Fix node naming in {param,field}_declaration by @adonovan in https://github.com/tree-sitter/tree-sitter-go/pull/65 * Structure Query by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-go/pull/70 * Remove field_identifier from keyed_element by @adonovan in https://github.com/tree-sitter/tree-sitter-go/pull/71 * Generic Makefile by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-go/pull/72 * Bump tree-sitter version to 0.20 by @hendrikvanantwerpen in https://github.com/tree-sitter/tree-sitter-go/pull/78 * Swift Package by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-go/pull/79 * Made body optional for method_declaration by @lmaruvada in https://github.com/tree-sitter/tree-sitter-go/pull/90 * Allow GenericType to accept QualifiedType by @kawaemon in https://github.com/tree-sitter/tree-sitter-go/pull/92 * feat(queries/highlight): highlight built-in functions as @function.builtin by @jimeh in https://github.com/tree-sitter/tree-sitter-go/pull/96 * feat(grammar): capture comment directives by @matoous in https://github.com/tree-sitter/tree-sitter-go/pull/97 * Revert "Merge pull request #97 from matoous/md/comment-directives" by @matoous in https://github.com/tree-sitter/tree-sitter-go/pull/98 * feat(ci): run build & test action on PRs by @matoous in https://github.com/tree-sitter/tree-sitter-go/pull/99 * fix: fix string literal rule by @SuperBo in https://github.com/tree-sitter/tree-sitter-go/pull/91 * Add more types and struct/parameter fix by @amaanq in https://github.com/tree-sitter/tree-sitter-go/pull/118 * Param fix by @amaanq in https://github.com/tree-sitter/tree-sitter-go/pull/119 * Update identifiers and top level declarations by @amaanq in https://github.com/tree-sitter/tree-sitter-go/pull/120 * Fix single import spec list without terminator by @amaanq in https://github.com/tree-sitter/tree-sitter-go/pull/122 * Materialize expression_statement nodes by @josharian in https://github.com/tree-sitter/tree-sitter-go/pull/124 * Formatting & CI fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-go/pull/126 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-go/compare/v0.19.1...v0.20.0
tree-sitter/tree-sitter-cpp v0.22.0
C++ grammar for tree-sitter
⭐️ 226
πŸ•“ 1 week ago
tree-sitter/tree-sitter-c v0.21.0
C grammar for tree-sitter
⭐️ 200
πŸ•“ 5 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.20.7
13 weeks ago
## What's Changed * Fix `sizeof` precedence by @philipturnbull in https://github.com/tree-sitter/tree-sitter-c/pull/168 * Adds GH tag queries by @BekaValentine in https://github.com/tree-sitter/tree-sitter-c/pull/122 * Add Microsoft SEH extension to the grammar by @DennySun2100 in https://github.com/tree-sitter/tree-sitter-c/pull/164 * Add TAGS_QUERY to rust bindings by @Squadrick in https://github.com/tree-sitter/tree-sitter-c/pull/175 * Misc fixes by @amaanq ## New Contributors * @philipturnbull made their first contribution in https://github.com/tree-sitter/tree-sitter-c/pull/168 * @BekaValentine made their first contribution in https://github.com/tree-sitter/tree-sitter-c/pull/122 * @DennySun2100 made their first contribution in https://github.com/tree-sitter/tree-sitter-c/pull/164 * @Squadrick made their first contribution in https://github.com/tree-sitter/tree-sitter-c/pull/175 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-c/compare/v0.20.6...v0.20.7
v0.20.6
13 weeks ago
## What's Changed * fix: rework rules to reduce state count by @amaanq in https://github.com/tree-sitter/tree-sitter-c/pull/162 * Fix by @amaanq in https://github.com/tree-sitter/tree-sitter-c/pull/163 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-c/compare/v0.20.5...v0.20.6
v0.20.5
36 weeks ago
## What's Changed * Minor fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-c/pull/158 * Support for misc features by @amaanq in https://github.com/tree-sitter/tree-sitter-c/pull/161 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-c/compare/v0.20.4...v0.20.5
v0.20.4
39 weeks ago
**Features** - add `attribute_specifier`to struct (https://github.com/tree-sitter/tree-sitter-c/commit/4b6e0bc97b02a51c5d5a1ff3171da4c0d1e2ffad) - rework release action (https://github.com/tree-sitter/tree-sitter-c/commit/e17d0a16020f9f425fc5fa20d2c2847b7928db50) **Bug Fixes** - rework typedef specifiers again (https://github.com/tree-sitter/tree-sitter-c/commit/4c49fc38831fcfdb47a4220f04b8c268a71abbbd) - swap precedences of assignnment and conditional expressions (https://github.com/tree-sitter/tree-sitter-c/commit/f3559c6cb4012f6fb487c95941fc9eb27922d686) - disallow `/` after `\S` to better handle comments in preproc_arg (https://github.com/tree-sitter/tree-sitter-c/commit/5890e77d2db4533abd5d1b8fe7657a7fd64d9972) - make preproc newlines immediate so they don't span excess trailing newliens (https://github.com/tree-sitter/tree-sitter-c/commit/41c0a15e09a4388ff2dbb77153d6ba2d0f629ebc) **Full Changelog**: https://github.com/tree-sitter/tree-sitter-c/compare/v0.20.3...v0.20.4
tree-sitter/tree-sitter-bash v0.21.0
Bash grammar for tree-sitter
⭐️ 187
πŸ•“ 5 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.20.5
10 weeks ago
## What's Changed * Replace non-JSON-standard single-quotes with double-quotes in binding.gyp by @nordlow in https://github.com/tree-sitter/tree-sitter-bash/pull/240 * Fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/245 ## New Contributors * @nordlow made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/240 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-bash/compare/v0.20.4...v0.20.5
v0.20.3
10 weeks ago
## What's Changed * fix: heredocs with many trailing file redirects by @ahlinc in https://github.com/tree-sitter/tree-sitter-bash/pull/197 * fix: don't expose `\n` rule anchors as visible anonymous nodes by @ahlinc in https://github.com/tree-sitter/tree-sitter-bash/pull/198 * fix: restore missed `redirect` field by @ahlinc in https://github.com/tree-sitter/tree-sitter-bash/pull/200 * fix: alias `simple_heredoc_body` to `heredoc_body` by @ahlinc in https://github.com/tree-sitter/tree-sitter-bash/pull/201 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-bash/compare/v0.20.2...v0.20.3
v0.20.2
28 weeks ago
## What's Changed * Fixes and fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/191 * Fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/192 * Heredoc rework by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/193 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-bash/compare/v0.20.1...v0.20.2
v0.20.1
28 weeks ago
## What's Changed * More fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/189 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-bash/compare/v0.20.0...v0.20.1
v0.20.0
34 weeks ago
## What's Changed * Fix Cargo repository URL by @Sighery in https://github.com/tree-sitter/tree-sitter-bash/pull/97 * fix: escaped newline immediately after a char, resolves #100 by @ahlinc in https://github.com/tree-sitter/tree-sitter-bash/pull/102 * Fixed CRLF behavior for tests, run tests on all platforms in GitHub CI by @ahelwer in https://github.com/tree-sitter/tree-sitter-bash/pull/106 * Support for 'select' loops by @mjambon in https://github.com/tree-sitter/tree-sitter-bash/pull/111 * Add support for 'until' loops by @mjambon in https://github.com/tree-sitter/tree-sitter-bash/pull/112 * Handle words containing bare '#' by @oxalica in https://github.com/tree-sitter/tree-sitter-bash/pull/109 * adding zsh expansion flags by @ryaminal in https://github.com/tree-sitter/tree-sitter-bash/pull/115 * Update CI by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/131 * Update Cargo.toml by @nokome in https://github.com/tree-sitter/tree-sitter-bash/pull/117 * Rename ansii_c_string and string_expansion by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/121 * rust: enables highlights query by @Dav1dde in https://github.com/tree-sitter/tree-sitter-bash/pull/132 * Swift Package Manager by @lukepistrol in https://github.com/tree-sitter/tree-sitter-bash/pull/124 * Fix scanning of heredoc_body to allow empty bodies by @jaopaulolc in https://github.com/tree-sitter/tree-sitter-bash/pull/137 * [fix] Here-documents: parse a β€œreal” shell word (or close enough) after `<<` by @domq in https://github.com/tree-sitter/tree-sitter-bash/pull/142 * Parse Bash's tests by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/135 * Fix CI by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/145 * Support file descriptors for here docs/strings by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/156 * Support optional opening paren in case by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/157 * Highlight "select" and "until" as keywords by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/168 * Undo misguided package.json changes by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/173 * Restore prebuild dependencies by @verhovsky in https://github.com/tree-sitter/tree-sitter-bash/pull/174 * feat: rewrite the scanner in C by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/179 * fix: make helper functions static to avoid compilation conflicts with other parsers by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/182 * Fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/186 * fix: negated variable assignments in if statements by @kelly-lin in https://github.com/tree-sitter/tree-sitter-bash/pull/183 * Fixes by @amaanq in https://github.com/tree-sitter/tree-sitter-bash/pull/187 ## New Contributors * @Sighery made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/97 * @ahlinc made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/102 * @ahelwer made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/106 * @mjambon made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/111 * @oxalica made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/109 * @ryaminal made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/115 * @verhovsky made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/131 * @nokome made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/117 * @Dav1dde made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/132 * @lukepistrol made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/124 * @jaopaulolc made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/137 * @domq made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/142 * @kelly-lin made their first contribution in https://github.com/tree-sitter/tree-sitter-bash/pull/183 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-bash/compare/v0.19.0...v0.20.0
tree-sitter/tree-sitter-c-sharp v0.20.0
C# Grammar for tree-sitter
⭐️ 170
πŸ•“ 1 year ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.20.0
1 year ago
Main theme in this release is the C# 10 and C# 11 features (mostly complete). ## Adds support for + C# 10 (except Explicit return type Lambdas) + Unicode identifiers + Global using directives + C# 11 (except raw string literals) ## Also + Various bug fixes + Some incremental improvements/tweaks ## Availability + [npm (JavaScript)](https://www.npmjs.com/package/tree-sitter-c-sharp/v/0.20.0) + [crates.io (Rust)](https://crates.io/crates/tree-sitter-c-sharp/0.20.0)
tree-sitter/tree-sitter-ruby v0.20.1
Ruby grammar for tree-sitter
⭐️ 153
πŸ•“ 10 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.20.1
10 weeks ago
## What's Changed * Switch to GitHub Actions CI. by @patrickt in https://github.com/tree-sitter/tree-sitter-ruby/pull/166 * Add the same PR template as for tree-sitter-javascript by @mjambon in https://github.com/tree-sitter/tree-sitter-ruby/pull/169 * Fixed CRLF behavior for tests by @ahelwer in https://github.com/tree-sitter/tree-sitter-ruby/pull/188 * Fix CRLF behavior mismatch during error recovery by @ahelwer in https://github.com/tree-sitter/tree-sitter-ruby/pull/189 * Endless methods by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/190 * Add forwarded parameters/arguments by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/191 * Disable C++ exceptions when compile for wasm32-wasi by @glebpom in https://github.com/tree-sitter/tree-sitter-ruby/pull/192 * Pattern matching by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/193 * Improve grammar after the introduction of case-in pattern matching by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/197 * Add parenthesized_pattern by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/198 * Ruby 3.1 features by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/201 * Update to Node 16 by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-ruby/pull/206 * C bindings by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-ruby/pull/199 * Parser improvements by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/207 * CI: use windows-2019 for now by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/209 * Add named rules for the various call operators by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/211 * Update Makefile by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-ruby/pull/213 * Allow newer tree-sitter upstream library. by @patrickt in https://github.com/tree-sitter/tree-sitter-ruby/pull/215 * Bump tree-sitter version to 0.20 by @hendrikvanantwerpen in https://github.com/tree-sitter/tree-sitter-ruby/pull/214 * Fix parse error in 'foo! if condition' by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/216 * Parser improvements: `!=` operator and `key: [line_break]` by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/220 * Some improvements to the parser by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/222 * Wrap class, module, method, and block bodies in a named node by @npezza93 in https://github.com/tree-sitter/tree-sitter-ruby/pull/224 * Parser improvments: quoted heredocs and short-hand interpolations by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/225 * Add body field for end-less methods by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/226 * Swift bindings by @mattmassicotte in https://github.com/tree-sitter/tree-sitter-ruby/pull/227 * fix: rename reserved word β€œarguments” by @drwpow in https://github.com/tree-sitter/tree-sitter-ruby/pull/229 * Bump versions in https://github.com/tree-sitter/tree-sitter-ruby/pull/208 * Anonymous (hash) splat arguments by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/233 * One-line pattern matching by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/194 * Scanner: do not skip LINE_BREAKs before .. and ... by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/238 * Fix non-termination in parser by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/239 * Fix scanning of division vs regex before line ending by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/246 * Fix 'case' with newlines before expression by @aibaars in https://github.com/tree-sitter/tree-sitter-ruby/pull/247 ## New Contributors * @ahelwer made their first contribution in https://github.com/tree-sitter/tree-sitter-ruby/pull/188 * @glebpom made their first contribution in https://github.com/tree-sitter/tree-sitter-ruby/pull/192 * @mattmassicotte made their first contribution in https://github.com/tree-sitter/tree-sitter-ruby/pull/206 * @hendrikvanantwerpen made their first contribution in https://github.com/tree-sitter/tree-sitter-ruby/pull/214 * @npezza93 made their first contribution in https://github.com/tree-sitter/tree-sitter-ruby/pull/224 * @drwpow made their first contribution in https://github.com/tree-sitter/tree-sitter-ruby/pull/229 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-ruby/compare/v0.19.0...v0.20.1
iOS macOS
tree-sitter/tree-sitter-haskell v0.15.0
Haskell grammar for tree-sitter.
⭐️ 146
πŸ•“ 8 weeks ago
iOS macOS
tree-sitter/tree-sitter-php v0.22.2
PHP grammar for tree-sitter
⭐️ 131
πŸ•“ 8 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.22.2
8 weeks ago
## What's Changed * Add *.dylib file to .gitignore by @zonuexe in https://github.com/tree-sitter/tree-sitter-php/pull/219 * Replace stdlib calls: isxdigit -> iswxdigit, wcscmp -> memcmp by @maxbrunsfeld in https://github.com/tree-sitter/tree-sitter-php/pull/220 * fix: error when string contains php closing tag by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/222 * fix: comment precedence (again) by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/224 * chore: bump tree-sitter-cli version to `0.21.0` by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/225 ## New Contributors * @zonuexe made their first contribution in https://github.com/tree-sitter/tree-sitter-php/pull/219 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-php/compare/v0.22.0...v0.22.2
v0.22.0
11 weeks ago
## What's Changed * feat: allow identifiers to contain utf-8 characters by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/216 * chore!: clean up expressions by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/218 * fix: keywords not being parsed as named arguments by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/217 ## Breaking Change - `exponentiation_expression` has been removed and is now part of `binary_expression` **Full Changelog**: https://github.com/tree-sitter/tree-sitter-php/compare/v0.21.1...v0.22.0
v0.21.1
12 weeks ago
## What's Changed * Use python 3.12 and update node-gyp to 10.0.1 by @piotrkwiecinski in https://github.com/tree-sitter/tree-sitter-php/pull/198 * Split parser attempt #2 by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/192 * feat: add injection queries for heredocs and comments by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/204 * feat: allow enums to use double quoted strings and here/nowdocs by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/199 * fix: add for as a highlight keyword by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/201 * fix: allow digits in heredoc identifier by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/210 * chore: remove js parsing script by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/211 * feat: support disjunctive normal form types by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/203 * feat: support typed class constants by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/205 * fix: final modifier with constant visibility by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/208 * chore: specify eof in .gitattributes by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/213 * PHP 8.3 support and various fixes by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/214 * fix: add single quote string escape_sequence by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/215 * chore: update tree-sitter configs by @calebdw in https://github.com/tree-sitter/tree-sitter-php/pull/212 * fix: allow trailing comma in match_condition_list by @Vehmloewff in https://github.com/tree-sitter/tree-sitter-php/pull/194 **Full Changelog**: https://github.com/tree-sitter/tree-sitter-php/compare/v0.20.0...v0.21.1
tree-sitter/tree-sitter-java v0.21.0
Java grammar for tree-sitter
⭐️ 130
πŸ•“ 2 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.20.2
28 weeks ago
Find tree-sitter-java v0.20.2 on [crates.io](https://crates.io/crates/tree-sitter-java) or [NPM](https://www.npmjs.com/package/tree-sitter-java).
0.20.1
1 year ago
Mostly to test the publish crates action
0.20.0
1 year ago
tree-sitter/tree-sitter-html v0.20.2
HTML grammar for Tree-sitter
⭐️ 117
πŸ•“ 4 weeks ago
πŸ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v0.20.1
9 weeks ago
**Full Changelog**: https://github.com/tree-sitter/tree-sitter-html/compare/v0.20.0...v0.20.1
tree-sitter/tree-sitter-json v0.21.0
JSON grammar for tree-sitter
⭐️ 107
πŸ•“ 2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics