Amaan Qureshi
475c48d1e3
docs: add AI policy
...
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2026-04-26 02:58:56 -04:00
Will Lillis
3294a64027
perf(cli): replace regex with manual parsing in test file parser
...
This started as a simple one to one rewrite, just removing the regexes,
and quickly devolved into a rewrite of the test parsing logic. In
addition to the memory enhancements, the general flow should be much
clearer now. A few data points:
- JS: walltime -1.3%, peak rss -10.2%
- C: walltime -5.7%, peak rss -4.5%
- Rust: walltime -3.8%, peak rss -2.2%
2026-03-31 04:00:43 -04:00
futsuuu
0d4f5cb13f
fix(loader): don't discard CC wrapper command specified in CC variable
2026-03-31 01:43:43 -04:00
Will Lillis
9a48405a87
fix(docs): correct various typos
2026-03-28 05:23:10 -04:00
Will Lillis
30d9c675a4
docs: indicate that dashes are not permitted in parser names
2026-03-13 15:35:14 -04:00
Will Lillis
30ed8da439
Revert "feat: allow - in grammar names"
...
This reverts commit 7d3c321253 .
2026-03-13 15:35:14 -04:00
Riley Bruins
cf302b07d1
fix(query): don't add copies for quantifier steps outside alternations
2026-03-04 10:32:50 +01:00
John Eismeier
1f9b274dfb
chore: fix typos in messages and documentation
...
Signed-off-by: John E <jeis4wpi@outlook.com>
2026-03-01 11:40:15 +01:00
Will Lillis
d0714e0828
docs: add basic information about creating releases
2026-02-21 15:59:32 +01:00
Amaan Qureshi
ebd2a56b5d
treewide: add taplo config and reformat toml files
2026-02-18 00:59:34 -05:00
Jeremy Fleischman
7d3c321253
feat: allow - in grammar names
...
A number of grammars in the wild have this character in their name:
- https://github.com/sogaiu/tree-sitter-janet-simple/pull/7
- https://github.com/tree-sitter/tree-sitter-c-sharp/pull/408
- https://github.com/tree-sitter/tree-sitter-embedded-template/pull/45
- https://github.com/tree-sitter/tree-sitter-ql-dbscheme/pull/7
I read through https://github.com/tree-sitter/tree-sitter/pull/3700 and
https://github.com/tree-sitter/tree-sitter/issues/3637 , and it doesn't
look like there was much discussion about this name regex, so hopefully
this is an acceptable change?
2026-02-09 21:28:04 -05:00
Will Lillis
7e1d8add13
feat(cli): add --verbose flag to build command
...
This displays the working directory of the command (if present),
compiler used, all of its arguments, any environment variables set,
and anything written to stdout/stderr by the compilation tool.
2026-02-01 13:00:02 -05:00
Will Lillis
7100767f64
docs: include info on environment variables for fuzz command
2026-02-01 12:31:13 -05:00
Will Lillis
8816d4494f
docs: document parser library symbol checks for build command
2026-01-25 18:19:32 -05:00
Will Lillis
aea4ef2338
feat(xtask): give wasm-opt the wasi-sdk treatment
2026-01-21 21:30:13 -05:00
Will Lillis
e64e74d5ed
docs: adhere to 120 new word column limit for docs
2026-01-14 18:11:42 -05:00
Will Lillis
1a88b26a10
docs: note requirement to rebuild wasm stdlib
2026-01-14 18:11:42 -05:00
skewb1k
999e041d49
docs: add tip about using test --update flag
2025-12-31 01:43:48 -05:00
Christian Clason
ba7350c7ee
docs(cli): better description of files generated by init
2025-12-25 13:16:57 +01:00
kevin-hua-kraken
a7d8c0cbb2
fix(playground): update query API
2025-12-23 10:36:40 +02:00
skewb1k
642b56d9af
fix(docs): remove conflicting --release cargo flag in contributing.md
...
The argument '--release' cannot be used with '--profile <PROFILE-NAME>'
2025-12-14 20:35:13 +01:00
Christian Clason
0574fcf256
docs(cli): include information on generated files
2025-12-14 14:26:49 +01:00
Christian Clason
cd4b6e2ef9
0.26.3
2025-12-13 13:41:03 +01:00
Marcono1234
3bd44afcaa
docs(cli): fix wrong file path for Java bindings test
...
The test is currently generated in the default (= unnamed) package.
2025-12-10 20:54:07 +02:00
Will Lillis
8b8199775f
0.26.x
...
Also bump the tree-sitter-language crate to 0.1.6
2025-12-09 17:19:25 -05:00
Will Lillis
8a3dcc6155
release 0.26.1
2025-12-08 17:05:03 -05:00
ObserverOfTime
d861e2bcd9
docs(cli): list Java & Zig binding files
2025-12-08 15:47:15 -05:00
Piotr Osiewicz
c0b1710f8a
Add containing range APIs to query cursor
...
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: dino <dinojoaocosta@gmail.com>
Co-authored-by: John Tur <john-tur@outlook.com>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: dino <dinojoaocosta@gmail.com>
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
2025-12-03 18:06:16 -05:00
skewb1k
882aa867eb
docs: remove manual bindings update steps for scanner
...
Since 66dab20462 , bindings automatically
detect external scanner, making the instructions for manual updating
outdated. Avoids confusion about missing commented lines in Rust
bindings.
2025-11-24 23:00:40 +01:00
Will Lillis
e92a7803eb
fix(docs): final updates before 0.26.1
...
- Indicate where xtask looks for wasi-sdk
- Indicate where `build --wasm` looks for and downloads wasi-sdk binary
to
- Mark native runtime as experimental, describe limitations
- Note ABI 13 support limitations
- Mention that `test --wasm` and `parse --wasm` require
`--features=wasm` build
2025-11-24 15:18:12 +01:00
Will Lillis
d592b16ac0
fix(docs): list dependencies on external tooling for version command
2025-11-21 19:40:14 -05:00
Antonin Delpeuch
120f74723e
docs: fix typo in the page about ABI version
...
Of course I only catch that once they are already published…
2025-11-20 09:58:07 +01:00
Antonin Delpeuch
02508d5570
Apply suggestions from code review
...
Co-authored-by: Christian Clason <ch.clason+github@icloud.com>
2025-11-20 01:07:58 -05:00
Antonin Delpeuch
42e7e9c3e7
Integrate rewording suggestions
2025-11-20 01:07:58 -05:00
Antonin Delpeuch
55b9a25c84
docs: New page about ABI versions for parser users
...
Closes #374 .
The statement about the intended backwards compatibility is purely
speculative and provided as a "straw man" to help reviewers come up with
a better description of the intended backwards compatibility.
2025-11-20 01:07:58 -05:00
Will Lillis
877782a8a4
fix(docs): update cli docs to reflect changes to various subcommand
...
arguments
2025-11-19 04:30:01 -05:00
Marcono1234
12a31536e1
fix(docs): don't show mdbook help popup when using query editor
2025-11-12 23:43:03 -05:00
Will Lillis
361287fb56
fix(cli)!: deprecate --build flag for generate command
2025-11-07 08:51:24 +01:00
Will Lillis
c7b5f89392
feat(xtask): generate JSON schema for cli TestSummary
2025-11-02 21:08:55 -05:00
Christian Clason
8444cc3deb
fix(docs): remove multilingual config field
...
Problem: "deploy docs" always pulls in the `latest` release of `mdbook`,
which now is a v0.5.0 prerelease with breaking changes -- including
removing an (apparently unused) `multilingual` config field in the TOML
that is now an error (another breaking change).
Solution: Delete the line. Add `workflow_dispatch` to the docs workflow
in case follow-up changes are needed; see
https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#05-migration-guide
2025-11-02 18:07:47 -05:00
Will Lillis
097c2d4f05
fix(cli): remove --emit=lib generate option
...
This also replaces the `--emit` option with an `--no-parser` flag. The
default value is false, meaning a parser is still generated by default.
2025-11-02 10:26:28 +01:00
ObserverOfTime
7d0e029e37
chore: add schema for node-types.json
2025-10-05 09:57:23 +03:00
Amaan Qureshi
341665824c
fix(lib): validate subtypes in supertype queries
2025-09-28 00:56:30 -04:00
WillLillis
422866a437
fix(docs): update more broken links
2025-09-26 16:10:29 -05:00
Amaan Qureshi
ea9c318afb
docs: update highlight crate link
2025-09-24 16:29:08 -04:00
Will Lillis
6214f95e7e
docs: correct new generate flag: "stage"->"emit"
2025-09-21 15:22:11 -04:00
Antonin Delpeuch
8873c1aeff
docs: update options for generate command
2025-09-21 01:53:40 -04:00
Amaan Qureshi
0ca8fe8c12
feat(playground): add export flag
2025-09-19 17:55:28 -04:00
John-Philip Taylor
552ab537e8
docs(cli): add docs on new version features
2025-09-19 17:52:08 -04:00
Amaan Qureshi
39a67eec61
feat: migrate to ESM
2025-09-16 02:24:11 -04:00