Commit graph

  • c2e50ccd11 Add the source to the closure ts-captures Quentin Boyer 2026-01-22 01:21:20 +01:00
  • 1a54b1794d Refactor to be able to pass a query Quentin Boyer 2026-01-22 01:15:51 +01:00
  • 4c89725111 Expose a callback instead of doing the filtering in the iterator Quentin Boyer 2026-01-22 00:46:19 +01:00
  • 705130705a Ignore directives in predicates Quentin Boyer 2026-01-22 00:14:19 +01:00
  • e5ee144b0a Allow to match arbitrary predicates Quentin Boyer 2026-01-21 23:50:06 +01:00
  • 90885404ce Depend on upstream tree-sitter Quentin Boyer 2026-01-21 23:01:14 +01:00
  • a4305ee08f
    Merge 5ce93d1a62 into 6739742fb6 Will Lillis 2026-01-21 05:11:03 +00:00
  • 5ce93d1a62 feat(xtask): give wasm-opt the wasi-sdk treatment Will Lillis 2026-01-16 01:38:22 -05:00
  • e03781198f
    Merge 68ec70520d into 6739742fb6 Will Lillis 2026-01-20 23:53:30 -05:00
  • 68ec70520d fix(lib): address strict aliasing violations with Array type Will Lillis 2026-01-15 03:01:55 -05:00
  • 29281b1f93 feat(xtask): allow alternate branch for fixture grammars Will Lillis 2026-01-19 22:48:30 -05:00
  • bccf62cbf6
    Merge e0457fe05f into 6739742fb6 Vlady Veselinov 2026-01-20 23:16:47 -05:00
  • 906e684345
    Merge 9db5ef325b into 6739742fb6 Vlady Veselinov 2026-01-20 23:16:47 -05:00
  • 333d6a9a3c
    Merge 3bfbc00bc0 into 6739742fb6 bglgwyng 2026-01-20 23:16:47 -05:00
  • e42e2ca7ab
    Merge 31a59a92dd into 6739742fb6 jannschu 2026-01-20 23:16:47 -05:00
  • 42943cb44b
    Merge 3cf8b24157 into 6739742fb6 dependabot[bot] 2026-01-20 23:16:47 -05:00
  • 0205b7e51a
    Merge a2ca59838e into 6739742fb6 Kyuhwan Lee 2026-01-20 23:16:47 -05:00
  • d9ab43ab13
    Merge a7eff029cd into 6739742fb6 Kyuhwan Lee 2026-01-20 23:16:47 -05:00
  • 35cc0ef8e4
    Merge c0f5e88c6f into 6739742fb6 Wilco Kruijer 2026-01-21 04:02:24 +00:00
  • eddb96f257
    Merge 7af10d5616 into 6739742fb6 Jen-Chieh Shen 2026-01-21 03:15:28 +00:00
  • f9aa5a7359
    Merge 53a8a63a43 into 6739742fb6 Christian Clason 2026-01-20 21:12:08 -06:00
  • df54e304dc
    Merge 5fbb1b1ebd into 6739742fb6 Trim21 2026-01-21 02:28:11 +08:00
  • 6739742fb6 build(deps): bump cc from 1.2.52 to 1.2.53 in the cargo group master dependabot[bot] 2026-01-19 22:33:52 +00:00
  • d251226a3c ci: bump actions/github-script from 7 to 8 in the actions group dependabot[bot] 2026-01-19 22:34:23 +00:00
  • 3cf8b24157
    build(deps): bump the npm group across 1 directory with 5 updates dependabot/npm_and_yarn/lib/binding_web/npm-19800d308b dependabot[bot] 2026-01-19 22:34:40 +00:00
  • 4200ece20a
    ci: bump actions/github-script from 7 to 8 in the actions group dependabot[bot] 2026-01-19 22:34:23 +00:00
  • 398c49019a
    build(deps): bump cc from 1.2.52 to 1.2.53 in the cargo group dependabot[bot] 2026-01-19 22:33:52 +00:00
  • ae8184b8b9 docs(playground): highlight full row for highlighted nodes Tam1SH 2026-01-06 05:18:06 +03:00
  • 152d2756fc fix(cli): warn user when nm can't be run to verify the symbols inside the parser being built release-0.26 Will Lillis 2026-01-18 02:25:25 -05:00
  • b578090b9c docs(playground): highlight full row for highlighted nodes Tam1SH 2026-01-06 05:18:06 +03:00
  • 470ecf8996 feat(ci): ensure wasm-stdlib.h is regenerated when wasm stdlib source files are modified. Will Lillis 2026-01-13 00:47:46 -05:00
  • d1b65e0576 fix(cli): warn user when nm can't be run to verify the symbols inside the parser being built Will Lillis 2026-01-18 02:25:25 -05:00
  • 0cdb6bef7b fix(cli): warn user when nm can't be run to verify the symbols inside the parser being built Will Lillis 2026-01-18 02:25:25 -05:00
  • cd603fa981
    feat: free memory automatically (#5225) theanarkh 2026-01-19 06:39:52 +08:00
  • 07135e7bcd feat: free memory automatically theanarkh 2026-01-13 03:02:42 +08:00
  • 1bdb82f538 fix(cli): warn user when nm can't be run to verify the symbols inside the parser being built Will Lillis 2026-01-18 02:25:25 -05:00
  • b12009a746 fix: Clarify/fix lifetimes - One has to think about lifetimes if a type has one: - <&'a Node<'tree>>::language now returns LanguageRef<'tree> instead of LanguageRef<'a>, as it should; - Remove explicit "outlives" requirements from QueryMatches, QueryCaptures, and their impl blocks, because they're inferred - Removed unnecessary &mut from cst_render_node's cursor parameter DanikVitek 2026-01-10 23:01:55 +02:00
  • 9f9a0bc410 fix: Renamed TreeCursor<'cursor> into TreeCursor<'tree>, to be consistant with the usages and reduse confusion DanikVitek 2026-01-10 23:01:55 +02:00
  • fe3cfff385 feat(loader): use wasm-opt to optimize wasm files after compilation Will Lillis 2026-01-16 03:49:20 -05:00
  • 5fbb1b1ebd Merge remote-tracking branch 'upstream/master' into fix/wasm32-malloc Trim21 2026-01-16 01:06:59 +08:00
  • f05efbb352 fix(wasm): regenerate stdlib with wasm-opt Christian Clason 2026-01-15 10:35:32 +01:00
  • 53a8a63a43 fix(wasm): add iswpunct to stdlib wasm/iswpunct Christian Clason 2025-12-14 16:43:25 +01:00
  • 78c43a59dd fix(wasm): regenerate stdlib with wasm-opt Christian Clason 2026-01-15 10:35:32 +01:00
  • 5d290a2a75 fix(wasm): regenerate stdlib with wasm-opt Christian Clason 2026-01-15 10:35:32 +01:00
  • fc9c3a8c90 fix: Clarify/fix lifetimes - One has to think about lifetimes if a type has one: - <&'a Node<'tree>>::language now returns LanguageRef<'tree> instead of LanguageRef<'a>, as it should; - Remove explicit "outlives" requirements from QueryMatches, QueryCaptures, and their impl blocks, because they're inferred - Removed unnecessary &mut from cst_render_node's cursor parameter DanikVitek 2026-01-10 23:01:55 +02:00
  • 5eb0165f9e fix(wasm): regenerate stdlib with wasm-opt Christian Clason 2026-01-15 10:35:32 +01:00
  • 5808350bfe fix(docs): appease clippy regarding spacing in README Will Lillis 2026-01-15 04:30:55 -05:00
  • e551e060f8 fix(docs): appease clippy regarding spacing in README Will Lillis 2026-01-15 04:30:55 -05:00
  • e64e74d5ed docs: adhere to 120 new word column limit for docs Will Lillis 2026-01-12 22:10:09 -05:00
  • 1a88b26a10 docs: note requirement to rebuild wasm stdlib Will Lillis 2026-01-12 21:20:26 -05:00
  • e6ad0683ca fix(wasm): realloc should handle smaller new size Trim21 2026-01-15 05:06:01 +08:00
  • 2a9907ae0a feat(ci): ensure wasm-stdlib.h is regenerated when wasm stdlib source files are modified. Will Lillis 2026-01-13 00:47:46 -05:00
  • 49d361905a docs: adhere to 120 new word column limit for docs Will Lillis 2026-01-12 22:10:09 -05:00
  • c0da3c1eb1 docs: note requirement to rebuild wasm stdlib Will Lillis 2026-01-12 21:20:26 -05:00
  • 6c05cdfb0c build(deps): bump the cargo group with 3 updates dependabot[bot] 2026-01-13 02:06:21 +00:00
  • 1f221c8500 fix(build): define _BSD_SOURCE Will Lillis 2026-01-10 04:20:16 -05:00
  • c7ec75d72a
    build(deps): bump the cargo group with 3 updates dependabot[bot] 2026-01-13 02:06:21 +00:00
  • 4698f62741 fix(build): define _BSD_SOURCE Will Lillis 2026-01-10 04:20:16 -05:00
  • aefae11c0d fix(build): define _BSD_SOURCE Will Lillis 2026-01-10 04:20:16 -05:00
  • 03e666dcd2 Update build.zig for 0.16 Morgan Moore 2026-01-11 17:29:04 -05:00
  • 275b7b7c8d fix: Renamed TreeCursor<'cursor> into TreeCursor<'tree>, to be consistant with the usages and reduse confusion DanikVitek 2026-01-10 23:01:55 +02:00
  • c0f5e88c6f feat(wasm): add Language.loadSync for synchronous loading Wilco Kruijer 2026-01-11 13:54:33 +01:00
  • ffd777ba65 fix: Naming; Lifetimes; deny(rust_2018_idioms) - One has to think about lifetimes if a type has one: - <&'a Node<'tree>>::language now returns Language<'tree> instead of Language<'a>, as it should; - Renamed struct TreeCursor<'cursor> into struct TreeCursor<'tree>, to be consistant with the usages and reduse confusion; - Remove explicit "outlives" requirements from QueryMatches, QueryCaptures, and their impl blocks, because they're inferred - TODO: should 'query be renamed into 'cursor? DanikVitek 2026-01-10 23:01:55 +02:00
  • fdca0718bc fix(templates): fix python free-threading compatibility Kevin Wang 2026-01-07 23:27:37 +00:00
  • 01896205f1 fix(build): define _BSD_SOURCE Will Lillis 2026-01-10 04:20:16 -05:00
  • 82ba31d503
    Update README.md rsriyad922-hash 2026-01-09 19:32:29 +06:00
  • 0e46489f7a fix(templates): fix python free-threading compatibility Kevin Wang 2026-01-07 23:27:37 +00:00
  • 630fa52717 fix(templates): fix python free-threading compatibility Kevin Wang 2026-01-07 23:27:37 +00:00
  • 0d1a2a1cb7
    fix(templates): fix python free-threading compatibility Kevin Wang 2026-01-07 23:27:37 +00:00
  • eea85f4eff build(deps): bump clap from 4.5.53 to 4.5.54 in the cargo group dependabot[bot] 2026-01-07 16:19:58 +00:00
  • a150aa2128
    build(deps): bump clap from 4.5.53 to 4.5.54 in the cargo group dependabot[bot] 2026-01-07 16:19:58 +00:00
  • fa7b1b2a66 fix(wasm): update wasm-stdlib.h Christian Clason 2026-01-06 12:36:03 +01:00
  • 38da5f815c fix(wasm): update wasm-stdlib.h Christian Clason 2026-01-06 12:36:03 +01:00
  • cd6672701b fix(wasm): update wasm-stdlib.h Christian Clason 2026-01-06 12:36:03 +01:00
  • 77f9a64201 fix(wasm): update wasm-stdlib.h Christian Clason 2026-01-06 12:36:03 +01:00
  • adcc4d1f7b
    fix(wasm): add common definitions to stdlib (#5199) (#5208) tree-sitter-ci-bot[bot] 2026-01-06 12:27:26 +01:00
  • 313c022c8a fix(wasm) add common definitions to stdlib (#5199) Trim21 2026-01-06 19:01:37 +08:00
  • f4ca3d95ca
    fix(wasm) add common definitions to stdlib (#5199) Trim21 2026-01-06 19:01:37 +08:00
  • ab337acf49 replay array.h changes onto crates/generate/.../array.h Nathaniel Wesley Filardo 2026-01-06 02:44:57 +00:00
  • 3b1845392c lib: array.h strict aliasing violations Nathaniel Wesley Filardo 2026-01-04 01:44:30 +00:00
  • 17b06db99c lib: refactor polymorphic Array(T) type Nathaniel Wesley Filardo 2026-01-04 01:44:28 +00:00
  • 2423b69f3d
    make it build with zig 0.16 Chinmay Dalal 2026-01-05 16:48:08 -05:00
  • 7d9c544c96 fix(cli): restore test summary output for tree-sitter test skewb1k 2026-01-04 09:03:09 +03:00
  • d344e63a2e fix(cli): restore test summary output for tree-sitter test skewb1k 2026-01-04 09:03:09 +03:00
  • b293bd97a4
    Merge 134a768172 into 17e3c7a5c5 Sasha Koss 2026-01-04 21:31:19 -08:00
  • 17e3c7a5c5 fix(cli): restore test summary output for tree-sitter test skewb1k 2026-01-04 09:03:09 +03:00
  • edff362bd0 fix(rust): implement c malloc with rust alloc for wasm32 Trim21 2026-01-05 00:32:39 +08:00
  • 8972cf0317 add some common used defs Trim21 2026-01-04 17:12:10 +08:00
  • fc09422e3b fix missing UINT8_MAX Trim21 2026-01-04 16:07:47 +08:00
  • 592ababadb fix(cli): restore test summary output for tree-sitter test skewb1k 2026-01-04 09:03:09 +03:00
  • 382e51561c
    Create main Sami Sinada 2026-01-03 20:15:46 -06:00
  • 7165ec5253 add intptr_t Trim21 2026-01-04 07:58:57 +08:00
  • caebb72411 fix(wasm): define UINT64_MAX and update UINTPTR_MAX for wasm32/wasm64 Trim21 2026-01-04 07:51:52 +08:00
  • 1132e9fa28 fix rust parser on wasm32 target Trim21 2026-01-04 07:38:26 +08:00
  • 7af10d5616
    fix(CMakeLists.txt): Export all symbols by default for MSVC Jen-Chieh Shen 2026-01-01 00:49:54 -08:00
  • c1e49d1571 feat(cli): fill in missing fields to tree-sitter.json when running tree-sitter init -u WillLillis 2025-12-29 14:12:25 -05:00
  • eae6554735 fix(cli): increase verbosity of tree-sitter init -u updates WillLillis 2025-12-26 19:33:32 -05:00
  • 5ea246adbc feat(cli): fill in missing fields to tree-sitter.json when running tree-sitter init -u WillLillis 2025-12-29 14:12:25 -05:00
  • 5e0bcf6fef fix(cli): increase verbosity of tree-sitter init -u updates WillLillis 2025-12-26 19:33:32 -05:00
  • dd60d5cff0 feat(cli): fill in missing fields to tree-sitter.json when running tree-sitter init -u WillLillis 2025-12-29 14:12:25 -05:00