Max Brunsfeld
fb5fbdd787
Merge pull request #1936 from J3RN/add-rust-scanner-note
...
Add note about including an external scanner in Rust crate
2022-10-31 14:49:15 -07:00
Max Brunsfeld
757c032455
Merge pull request #1938 from panicinc/merge/parse-cancel-pointer-crash
...
Resolving a crash when freeing a null pointer when cancelling parses
2022-10-31 13:00:20 -07:00
Logan Collins
5337a678fa
Resolving a potential crash freeing a null pointer when cancelling parses.
2022-10-31 11:35:52 -07:00
Jonathan Arnett
245e3b0092
Add note about including an external scanner in Rust crate
2022-10-30 23:24:50 -04:00
Max Brunsfeld
439a4804db
Merge pull request #1921 from gdamore/patch-1
...
Add D grammar - it is quite complete for D 2.100.
2022-10-20 09:24:08 -07:00
Garrett D'Amore
db846931c6
Add D grammar - it is quite complete for D 2.100.
2022-10-20 08:33:43 -07:00
rnkaufman
cabdcfb41d
Merge pull request #1900 from gbprod/add-twig-parser
...
Add twig parser in documentation
2022-10-07 16:54:36 -07:00
Gilles Roustan
346572a348
Add twig parser in documentation
2022-10-04 10:08:56 +02:00
Max Brunsfeld
d62adbe3a9
Merge pull request #1881 from mattmassicotte/fix/array-integer-sizing
...
Explicit integer sizes for array capacity
2022-09-21 20:17:28 -07:00
Matt
98b8226c70
Remove unnecessary cast
2022-09-21 20:17:30 -04:00
Matt
8751fa0853
Add explicit casting for array capacities
2022-09-21 15:52:44 -04:00
Max Brunsfeld
70cfc55e58
Merge pull request #1879 from mattmassicotte/fix/sizes
...
change integer type in ts_parser__set_cached_token
2022-09-21 10:25:38 -07:00
Matt
af6611e530
matching integer types
2022-09-21 08:50:01 -04:00
Max Brunsfeld
67d13cf50b
Fix integer size of subtree's child count field
...
Fixes tree-sitter/tree-sitter-cpp#175
2022-09-08 11:02:42 -07: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
b268e412ad
0.20.7
2022-09-02 15:00:47 -07:00
Max Brunsfeld
2be51abcd8
Bump library versions
2022-09-02 15:00:09 -07:00
Max Brunsfeld
15190a497d
Build core wasm library with C++ exceptions disabled
2022-09-02 14:55:50 -07:00
Max Brunsfeld
17fb261633
Merge pull request #1852 from tree-sitter/default-abi-version-14
...
Generate parsers with ABI version 14 by default
2022-09-02 13:05:44 -07:00
Max Brunsfeld
e2fe380a08
Generate parsers with ABI version 14 by default
2022-09-02 12:31:29 -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
Max Brunsfeld
1b86ccecc8
Merge pull request #1845 from tree-sitter/root-node-with-offset
...
Add API for applying a positional offset when accessing a tree's nodes
2022-08-25 10:51:20 -07:00
Max Brunsfeld
20d44ed13e
Merge pull request #1785 from petrisch/patch-1
...
Update section-2-using-parsers.md
2022-08-25 10:28:34 -07:00
Max Brunsfeld
dccb291e4a
Merge pull request #1849 from NicholasLYang/docs/web-tree-sitter
...
docs: Added documentation on web-tree-sitter edge cases
2022-08-25 10:27:56 -07:00
Max Brunsfeld
6b87326470
Merge pull request #1787 from kianmeng/fix-typos
...
Fix typos
2022-08-25 10:25:39 -07:00
Max Brunsfeld
9b5e32ad76
Merge pull request #1823 from slackner/fix-crash-in-field-name-for-child
...
Fix crash in ts_node_field_name_for_child for inline nodes
2022-08-25 10:24:02 -07:00
Max Brunsfeld
be442a8f3a
Merge pull request #1831 from shaded-enmity/addr-port-env-vars
...
Add env vars for port and address
2022-08-25 10:23:27 -07:00
Max Brunsfeld
53ed4cf037
Tolerate tree edits whose old range extends beyond the end of the tree
2022-08-25 10:20:40 -07:00
Nicholas Yang
8131e7635e
Added documentation on web-tree-sitter edge cases
2022-08-21 17:55:04 -04:00
Max Brunsfeld
477b667753
Add ts_tree_root_node_with_offset API
2022-08-18 13:48:47 -07:00
Max Brunsfeld
a882d0b036
Merge pull request #1836 from nmote/extra-alias
...
Avoid extracting default alias for extras
2022-08-13 21:10:34 -07:00
Nat Mote
4e3179fbc0
Avoid extracting default alias for extras
...
Fixes #1834
2022-08-10 07:27:34 -07:00
Nat Mote
0113bd28a4
Test for unused extra alias
...
Tests the issue described in #1834
2022-08-10 07:25:48 -07:00
Pavel Odvody
d6c451dc60
Add env vars for port and address
...
Make it possible to pass port and address via
pair of environmental variables TREE_SITTER_PLAYGROUND_PORT
and TREE_SITTER_PLAYGROUND_ADDR, respectively.
Signed-off-by: Pavel Odvody <pavel@redhat.com>
2022-08-02 14:54:45 +02:00
Sebastian Lackner
1245d54fb8
Fix crash in ts_node_field_name_for_child when no children are present
2022-07-27 12:26:35 +02:00
Max Brunsfeld
3739b7794e
Merge pull request #1819 from slackner/uint16-production-id
...
query: Use uint16_t for production_id in AnalysisSubgraphNode struct
2022-07-26 14:01:22 -07:00
Sebastian Lackner
2174288e30
query: Use uint16_t for production_id in AnalysisSubgraphNode struct
2022-07-26 21:50:38 +02:00
Max Brunsfeld
1f1b1eb450
Merge pull request #1797 from tree-sitter/sibling-patterns-inside-errors
...
Fix performance pitfall when matching "non-rooted" patterns in the presence of errors
2022-07-08 08:46:33 -07:00
Max Brunsfeld
79eaa68793
Don't match nested wildcard patterns against error nodes
2022-07-07 18:11:52 -07:00
Max Brunsfeld
254edb0ec8
Include captured summary information in stack debug graphs
2022-07-07 17:53:54 -07:00
Max Brunsfeld
548c12fb88
Fix bug where patterns with top-level alternatives were not considered 'rooted'
2022-07-07 17:53:54 -07:00
Max Brunsfeld
1401767689
query: Don't attempt to match top-level sibling patterns directly in ERROR nodes
...
Co-authored-by: Keith Simmons <keith@zed.dev>
2022-07-07 15:27:00 -07:00
Kian-Meng Ang
b8552ec6c4
Fix typos
2022-06-28 19:57:42 +08:00
Max Brunsfeld
01df16ca9f
lib: 0.20.8
2022-06-27 15:07:40 -07:00
petrisch
40a2afad49
Update section-2-using-parsers.md
...
Typo
2022-06-27 10:15:23 +02:00
Max Brunsfeld
b37f915520
Merge pull request #1783 from tree-sitter/empty-external-tokens-after-errors
...
Allow empty external tokens during error recovery, if they change the scanner's state
2022-06-25 17:31:35 -07:00
Max Brunsfeld
8b5ff2ec8f
Loosen randomized changed range assertions on newline characters
...
For now, don't error if the scope changes for a newline character.
2022-06-25 17:13:46 -07:00
Max Brunsfeld
3ac36b0cbe
Handle backslashes in token names when printing DOT debug graphs
2022-06-25 17:13:11 -07:00