ObserverOfTime
f7838748df
fix(cli): drop homepage link from config
...
We don't actually use this currently and the vast majority of grammars
don't have a homepage other than the repository itself.
2025-08-09 10:14:17 +03:00
Will Lillis
d000698847
fix(docs): add information on missing cli command options
2025-08-03 14:34:04 -04:00
Pieter Goetschalckx
07b4c8d05d
fix(cli): add reserved type declarations and schema
...
- Use `globalThis` for `reserved` function export
- Add `reserved` field and function to DSL declarations
- Add `reserved` rule to grammar schema
2025-08-02 12:01:41 +03:00
Will Lillis
cd2cb661a4
fix(docs): update cli path for install commands
2025-07-29 02:42:43 -04:00
ObserverOfTime
f04fab9b7a
docs: update bindings list
2025-07-14 10:24:17 +03:00
WillLillis
51a800b7df
fix(docs): don't show mdbook help popup when using code editor
2025-07-01 18:23:38 -04:00
Brian Schwind
f475182c7d
fix(playground): initialize tree nodes with a 'plain' class
2025-06-15 12:45:55 +03:00
ObserverOfTime
9772270868
fix(bindings): update swift & node dependencies ( #4432 )
...
* fix(bindings): update swift & node dependencies
also add the dependency name to Package.swift
* chore: update config schema
2025-06-07 11:41:07 -07:00
Dan Jacka
ad133ecb38
docs: fix indentation & formatting
2025-06-05 01:53:35 -04:00
zyoshoka
135eeded02
docs: update broken link in the playground page
2025-05-31 21:19:20 -04:00
sogaiu
19148eaa0d
docs: mention ~ and $HOME for parser-directories
2025-05-28 11:21:09 +02:00
Max Brunsfeld
ca7ff033db
Fix wasm build issues introduced by switching to wasi-sdk ( #4407 )
...
* Don't shell out for extracting tar.gz files
* Avoid wasi-sdk adding dependency on libc.so
* Clippy
* Fix -nostdlib flag
2025-04-27 19:42:34 -07:00
Tamchuk
70cf2a7a22
docs: fix typo
2025-04-23 08:26:51 -04:00
Daniel Jalkut
4514751803
docs(cli): improve documentation for the edits argument when parsing code
2025-04-18 23:45:52 -04:00
Bernardo Sulzbach
3d4d13ea1e
Fix typo of "corresponds"
2025-04-07 18:34:12 -04:00
Peter Hill
4ec8aacaec
docs: Fix link to named-vs-anonymous-nodes section
2025-04-06 10:58:42 -04:00
Jon Shea
ec3a889758
fix(docs): update test command flag from -f to -i
...
The `-f` flag on `tree-sitter test` seems to have been removed or
replaced with a `-i, --include` flag. This PR updates the "Writing Tests"
page to reflect this change.
2025-03-10 11:18:59 -04:00
Andrew Dunbar
ab7eb70a3c
typo: but is only works → but it only works ( #4242 )
2025-02-26 09:29:27 -08:00
Amaan Qureshi
a40265cbeb
refactor(web): rename tree-sitter.js to web-tree-sitter.js
...
This is not breaking for consumers of the web bindings, nor the
playground as both filenames will be kept in the .github.io repo
2025-02-11 22:56:50 -05:00
Amaan Qureshi
f20d4b0897
docs: correct build steps for WASM files
2025-02-02 02:07:36 -05:00
Amaan Qureshi
8f3ceb471a
docs: add missing summary element
2025-01-25 14:08:56 -05:00
ObserverOfTime
5cfeba9c0d
feat(bindings): add opt-in zig bindings
2025-01-25 03:47:19 -05:00
WillLillis
3074c0adf2
docs: add guidance about node naming conventions
2025-01-25 03:46:33 -05:00
Amaan Qureshi
bde94aed4d
feat(init): add a class-name field to grammars
2025-01-25 03:20:43 -05:00
Amaan Qureshi
6dbcfdf282
feat(init): add an optional funding field
2025-01-25 03:20:43 -05:00
Amaan Qureshi
a70b2fee4b
feat(init): allow dashes in scopes
2025-01-25 03:20:43 -05:00
Amaan Qureshi
ca087d2c07
docs: add documentation on updating and publishing grammars
2025-01-25 01:14:30 -05:00
Amaan Qureshi
3e72969ce4
fix(playground): work around lack of module support in mdbook
2025-01-22 04:09:08 -05:00
Amaan Qureshi
692332ed1c
feat!: update playground with new web bindings
2025-01-21 12:36:15 -05:00
Scorg
40eb26e580
build(bindings): move header to tree_sitter subdirectory
...
This patch allows users to include the parser by the same path from
local build as well as installed location. Previously it was not
possible to include the header prior to installing the built parser.
2025-01-20 13:17:24 -05:00
Yusuf Raji
1c9a2fa455
docs: fix broken link
2025-01-19 16:27:36 -05:00
Amaan Qureshi
1695e454a7
docs: improve docs around lexical precedence
2025-01-10 23:37:16 -05:00
Amaan Qureshi
5a2c5ed865
docs: improve docs for contributing to docs
2025-01-10 22:57:54 -05:00
Amaan Qureshi
8ab351ba32
docs: add example usage of conflicts
2025-01-10 22:36:12 -05:00
Amaan Qureshi
7668192a49
docs: clarify that the optional fields are a function that take in the grammar object
2025-01-10 22:36:12 -05:00
Emmanuel Ferdman
17017da7a6
docs: update playground references
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-01-10 21:57:17 -05:00
Amaan Qureshi
e58b1faac1
docs: add note on not duplicating the word token rule
2025-01-10 02:58:38 -05:00
Amaan Qureshi
21d74b8482
docs: add mdbook-admonish for better tooltips
2025-01-10 02:58:38 -05:00
WillLillis
c8bd78a29c
feat(playground): provide colored highlight for captures in code editor
2025-01-10 00:45:08 -05:00
Amaan Qureshi
68e707eb4f
feat: support passing in a Rust regex in the grammar dsl
2025-01-06 20:52:19 -05:00
WillLillis
a2f6b96683
docs: add --test-number entries for query, highlight, and tag subcommands
2025-01-03 16:16:17 -05:00
Amaan Qureshi
3456330fe9
fix: update outdated links
2025-01-03 15:09:33 -05:00
Amaan Qureshi
d2db7eb8ef
docs: add back detailed info about points
2024-12-28 16:12:45 -05:00
Amaan Qureshi
48fe030bdd
fix(playground): gracefully fallback to JavaScript if the select info is undefined
2024-12-27 17:08:49 -05:00
Amaan Qureshi
9228a31f94
fix(playground): restore select value's text from local storage
2024-12-26 00:17:49 -05:00
Amaan Qureshi
e3b2545ab7
fix(playground): add back underline on tree nodes, and query error underline
2024-12-25 21:23:36 -05:00
Amaan Qureshi
b70843a033
fix(playground): add dark theme, align ui more akin to upstream playground
2024-12-25 21:23:36 -05:00
Amaan Qureshi
5bd0d11982
fix(playground): ensure local playground is initialized
2024-12-25 21:23:36 -05:00
Amaan Qureshi
87c4df3ff3
docs: add favicon and logo
2024-12-25 21:23:36 -05:00
Amaan Qureshi
dda45cfbb6
docs: move assets to correct path
2024-12-25 21:23:36 -05:00