Andrew Helwer
278ff01e71
Added additional documentation details
...
* External scanners and infinite loops
* Terminal keywords in externals array
* Using error sentinel external token
* Good practice to erase state variables in deserialize func
* Emphasize external scanner is called first
2023-01-03 02:48:55 +02:00
Andrew Helwer
87a0517f3c
Various updates to Creating Parsers docs
...
* Documented test separator suffixes
* Documented partial precedences field
* Added external scanning to conflicting tokens rules
* Added earliest starting position to conflicting tokens rules
* Added note about lexical precedence vs. parse precedence
* Added note about tree-sitter calling external scanner with all
tokens marked valid during error recovery
2023-01-03 02:48:48 +02:00
Andrew Helwer
dddbc2d4f7
Added working commands for Windows users
...
Windows users are likely to be using either Windows Terminal (which uses PowerShell) or PowerShell directly.
2023-01-02 02:31:06 +02:00
Max Brunsfeld
8883d43bee
Merge pull request #1941 from mliszcz/master
...
Fix test output formatting for rules starting with M/U
2022-11-15 17:13:39 -08:00
Max Brunsfeld
37e0e8a7ab
Merge pull request #1918 from alanz/add-erlang-complete
...
Add Erlang to list of Available Parsers
2022-11-15 16:27:39 -08:00
mliszcz
7bf2484d81
Fix test output formatting for rules starting with M/U
...
Previously the rule names could not begin with an uppercase M or U
because the test output formatter assumed that they represent special
tokens: MISSING or UEXPECTED.
Fixes #1940 .
2022-11-15 20:20:44 +01:00
Jonathan Arnett
245e3b0092
Add note about including an external scanner in Rust crate
2022-10-30 23:24:50 -04:00
Garrett D'Amore
db846931c6
Add D grammar - it is quite complete for D 2.100.
2022-10-20 08:33:43 -07:00
Alan Zimmerman
54ace9fe27
Add Erlang to list of Available Parsers
...
Switching from under-development
https://github.com/AbstractMachinesLab/tree-sitter-erlang
to
https://github.com/WhatsApp/tree-sitter-erlang/
which is based originally on it.
2022-10-20 09:50:14 +01:00
Gilles Roustan
346572a348
Add twig parser in documentation
2022-10-04 10:08:56 +02:00
Max Brunsfeld
d1d8193d2f
Merge pull request #1858 from mattmassicotte/swift-docs-update
...
Update ref to swift parser
2022-09-06 14:09:02 -07:00
Matt
94b828f4fb
Update ref to swift parser
2022-09-05 16:21:12 -04:00
Max Brunsfeld
3563fe009a
Explain in the docs that npm install supports limited platforms
2022-09-02 15:31:21 -07:00
Max Brunsfeld
366210ae92
Merge pull request #1766 from 6cdh/racket-link
...
Add link to Racket language parser
2022-08-25 10:52:34 -07:00
petrisch
40a2afad49
Update section-2-using-parsers.md
...
Typo
2022-06-27 10:15:23 +02:00
6cdh
1acbb9bd84
Add link to Racket language parser
2022-06-04 10:44:59 +08:00
Cycatz
369c88713c
Add link to Org language parser
2022-05-16 15:58:33 +00:00
Linda_pp
d9365a8fd6
Add link to JSON parser in document
2022-05-04 00:01:02 +09:00
Max Brunsfeld
38d2cd15bd
Merge pull request #1667 from tree-sitter/dependabot/bundler/docs/nokogiri-1.13.3
...
Bump nokogiri from 1.11.4 to 1.13.3 in /docs
2022-02-26 16:56:14 -08:00
dependabot[bot]
fa3e87479f
Bump nokogiri from 1.11.4 to 1.13.3 in /docs
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.11.4 to 1.13.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.4...v1.13.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 03:43:21 +00:00
Michael Davis
699629ecdd
add unit testing documentation for tags queries
2022-02-25 05:46:30 -06:00
Patrick Thomson
764c8c88ca
last tweaks
2022-02-18 09:24:04 -05:00
Patrick Thomson
27019d1172
demonstrate that select-adjacent works
2022-02-17 18:28:09 -05:00
Patrick Thomson
65da86f16f
Missing plural here.
2022-02-17 18:11:01 -05:00
Patrick Thomson
48748ee332
Typo.
2022-02-17 18:05:50 -05:00
Patrick Thomson
e1ac2e2648
Better nomenclature.
2022-02-17 18:05:19 -05:00
Patrick Thomson
4c60217345
Flesh out output.
2022-02-17 17:43:14 -05:00
Patrick Thomson
69a5f77eab
Describe how to use tree-sitter tags as well.
2022-02-17 17:34:15 -05:00
Patrick Thomson
1fbace136d
Add examples.
2022-02-17 17:20:21 -05:00
Patrick Thomson
70077b8205
Incorporate @dcreager's excellent suggestions.
2022-02-17 14:00:34 -05:00
Patrick Thomson
f41e13f5da
Spacing and word choice.
2022-02-11 15:41:53 -05:00
Patrick Thomson
88822bd3fc
Move this to its own page.
2022-02-11 15:25:50 -05:00
Patrick Thomson
302c8b5305
Move this inside the query section.
2022-02-11 11:25:11 -05:00
Patrick Thomson
8dfed40466
Describe naming conventions for syntax captures.
2022-02-11 11:17:18 -05:00
Max Brunsfeld
9df064c9fe
Merge pull request #1581 from tlaplus-community/get-codepoint-column
...
`get_column` now counts codepoints instead of bytes
2022-01-12 10:49:44 -08:00
Andrew Helwer
80c34d62ab
Fixed rust build, updated docs
2022-01-07 10:36:25 -05:00
M Hickford
4c6175b70a
Add link to Protocol Buffers grammar
2022-01-02 21:18:12 +00:00
Max Brunsfeld
2032133f8a
Merge pull request #1532 from oxisto/patch-1
...
Added bindings for Java and Kotlin to `index.md`
2021-12-13 13:23:27 -08:00
Mackenzie Morgan
4238c6c7dc
add link to in-development Elixir parser
2021-12-13 13:25:17 -05:00
Christian Banse
0a1dbdd340
Added bindings for Java and Kotlin to index.md
2021-12-11 13:26:06 +01:00
Max Brunsfeld
65746afeff
playground: Make query error underlines render in safari
2021-11-22 16:04:45 -08:00
Max Brunsfeld
3ac53cb645
Add link to Lua bindings
2021-11-19 13:58:46 -08:00
Matt Massicotte
af2c692711
Add link to swift bindings package
2021-11-17 11:30:32 -05:00
Max Brunsfeld
0288dd4acc
Merge pull request #1295 from nokome/master
...
docs(Using parsers): Fix spelling, remove unusual keyword
2021-10-05 14:15:23 -07:00
Max Brunsfeld
ec87df2021
Merge pull request #1416 from Wilfred/patch-1
...
Add link to elisp parser
2021-10-05 14:14:13 -07:00
Wilfred Hughes
056a608991
Add link to elisp parser
2021-09-26 22:51:50 -07:00
Stephan Seitz
2f484a2bcb
Add tree-sitter-cuda, tree-sitter-glsl, tree-sitter-commonlisp
2021-09-26 12:21:38 +02:00
Max Brunsfeld
e7dcd2b7c4
Merge branch 'master' into m-novikov-add-parsers
2021-09-24 09:04:30 -07:00
Max Brunsfeld
2bee7c9b75
Update get_column docs
...
Fixes #1405
2021-09-22 13:53:42 -07:00
Andrew Hlynskyi
16470bc0b1
chore(cli): Rename all internal web_ui stuff to playground
2021-09-22 04:28:08 +03:00