Max Brunsfeld
0e3a2780cd
Avoid dynamic regex construction when parsing test files
2021-09-21 21:35:14 -07:00
Andrew Hlynskyi
6d2a9983d1
Merge pull request #1400 from tree-sitter/chore/rename-web-ui-stuff
...
chore(cli): Rename all internal web_ui stuff to playground
2021-09-22 04:49:48 +03:00
Andrew Hlynskyi
16470bc0b1
chore(cli): Rename all internal web_ui stuff to playground
2021-09-22 04:28:08 +03:00
Max Brunsfeld
f65bc89bc8
Merge pull request #1399 from tree-sitter/fix/playground-opening
...
fix(cli): Fix playground opening in a browser, regression in #1304
2021-09-21 16:32:30 -07:00
Andrew Hlynskyi
2383b7354c
Merge pull request #1258 from tree-sitter/dependabot/bundler/docs/addressable-2.8.0
...
chore(deps): bump addressable from 2.5.2 to 2.8.0 in /docs
2021-09-22 02:18:34 +03:00
dependabot[bot]
0801cd3870
chore(deps): bump addressable from 2.5.2 to 2.8.0 in /docs
...
Bumps [addressable](https://github.com/sporkmonger/addressable ) from 2.5.2 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases )
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.5.2...addressable-2.8.0 )
---
updated-dependencies:
- dependency-name: addressable
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 02:00:03 +03:00
Andrew Hlynskyi
2abd6bc318
fix(cli): Fix playground opening in a browser, regression in #1304
2021-09-22 01:38:52 +03:00
Andrew Hlynskyi
28a121b532
chore(docs): Fix misprints
2021-09-22 00:24:36 +03:00
Max Brunsfeld
51aa169387
Merge pull request #1398 from tree-sitter/feat/cli/improve-query-output
...
feat(cli/query): Improve and unify query sub command output
2021-09-21 13:46:26 -07:00
Max Brunsfeld
74152feef0
Merge pull request #1397 from tree-sitter/fix/mark-set-cancellation-self-as-mutable
...
binding(rust): Mark set_cancellation_flag self as mutable
2021-09-21 13:38:03 -07:00
Andrew Hlynskyi
e2de738026
cli(query): Improve and unify query subcommand output
2021-09-21 23:10:00 +03:00
Andrew Hlynskyi
d973527964
binding(rust): Mark set_cancellation_flag self as mutable
2021-09-21 23:03:50 +03:00
Max Brunsfeld
a63c09375f
Merge pull request #1391 from mehmetoguzderin/patch-1
...
Add WGSL WebGPU Shading Language
2021-09-17 08:55:58 -07:00
Mehmet Oguz Derin
eca777f501
Add WGSL WebGPU Shading Language
...
This PR adds WebGPU Shading Language to the list of available grammars, the linked repository's grammar is periodically automatically extracted from the WGSL specification itself, which is actually extracted every single time where the specification gets a modification in itself to check the validity of both the syntax and the examples. Thank you very much for developing and maintaining tree-sitter, fantastic project!
2021-09-17 18:54:14 +03:00
Max Brunsfeld
bd08fddc11
Merge pull request #1388 from jiyee/master
...
Add Objective-C language parser
2021-09-17 08:14:58 -07:00
Max Brunsfeld
8a1316d0eb
Merge pull request #1390 from tree-sitter/mj-docs
...
Add links to ocaml bindings, hcl parser, hack parser
2021-09-16 15:56:19 -07:00
Martin Jambon
8ec38a9b64
Add HCL (Terraform) and Hack to the list of supported languages
2021-09-16 13:34:59 -07:00
Martin Jambon
b675587132
Add link to OCaml bindings to list and sort list alphabetically.
2021-09-16 13:19:05 -07:00
Jiyee Sheng
7e5781637c
Add Objective-C language parser
2021-09-16 12:30:40 +08:00
Max Brunsfeld
80a2526843
Merge pull request #1385 from tree-sitter/feat/rust-query-match-id
...
feat(rust): Add an id() method for QueryMatch
2021-09-14 09:35:59 -07:00
Andrew Hlynskyi
ae12ff81b5
feat(rust): Add an id() method for QueryMatch
...
Refs #1372
2021-09-14 19:08:29 +03:00
Max Brunsfeld
22a5cfbe10
Assign ids to query matches only when the matches are returned
...
Refs #1372
2021-09-13 12:39:48 -07:00
Max Brunsfeld
6c66b5ee29
Merge pull request #1383 from tree-sitter/feat/debug-build
...
feat(cli): add a flag to compile a parser in debug mode with -O0 C/C++ compiler flag
2021-09-13 11:39:13 -07:00
Andrew Hlynskyi
62d79b80e1
feat(cli): add a flag to compile a parser in debug mode with -O0 C/C++ compiler flag
2021-09-13 13:48:02 +03:00
Max Brunsfeld
5c2ebf093b
Include memmove symbol in wasm build
2021-09-10 15:21:55 -07:00
Max Brunsfeld
4241f1453a
Merge pull request #1381 from hershen/typo
...
Fix typo in ts_tree_cursor_current_field_id documentation
2021-09-10 13:10:10 -07:00
Alon Hershenhorn
b239583510
Fix typo in API documentation
...
Fix small typo in ts_tree_cursor_current_field_id documentation.
2021-09-10 12:28:23 -07:00
Max Brunsfeld
4fa5ab8a52
Merge pull request #1348 from tlaplus-community/testfile-separator
...
Add support for arbitrary suffixes in test file headers and separators
2021-09-07 22:58:05 -07:00
Max Brunsfeld
4d64c2b939
Put emscripten-version file in cli directory
...
This lets the CLI crate build without relying on sibling directories.
2021-09-03 13:57:45 -07:00
Max Brunsfeld
b938486ebe
In CLI, get tree-sitter binding version from CLI's Cargo.toml
2021-09-03 13:54:47 -07:00
Max Brunsfeld
23b28f6f36
Fix 'include!' error when building the CLI outside of the repo
2021-09-03 13:45:13 -07:00
Max Brunsfeld
1eb4d8efe6
Bump tree-sitter dep version in tags and highlight crate
2021-09-03 13:31:26 -07:00
Max Brunsfeld
e22b42c9e6
Bump lib tree-sitter dependency versions in loader crate
2021-09-03 13:29:03 -07:00
Max Brunsfeld
aea35461b1
Merge pull request #1373 from tree-sitter/fix/1318
...
fix(lib): fix segfault on ts_query_new with incompatible grammar version
2021-09-03 13:21:41 -07:00
Andrew Hlynskyi
52e6c900c3
fix(lib): fix segfault on ts_query_new with incompatible grammar version, close #1318
2021-09-03 14:24:18 +03:00
Max Brunsfeld
0e26fbe5e6
Merge pull request #1367 from jrieken/moduleInit
...
Allow to pass Module object to init-function
2021-08-30 09:32:43 -07:00
Max Brunsfeld
eeda44d837
Merge pull request #1368 from jrieken/dtsTweaks
...
Fixes and additions to tree-sitter-web.d.ts
2021-08-30 09:17:53 -07:00
Johannes Rieken
3e9874df7f
Don't confuse terser with object spread
2021-08-30 14:56:28 +02:00
Johannes Rieken
e7a8e73bbf
fixes and additions to tree-sitter-web.d.ts
2021-08-30 14:47:47 +02:00
Johannes Rieken
12d727fd49
mix init options in the Module-global
2021-08-30 14:16:41 +02:00
Max Brunsfeld
8fa875b1a4
Fix possible infinite loop when running syntax highlighting tests
...
Fixes #1347
2021-08-29 15:04:23 -07:00
Max Brunsfeld
81c724cea0
Merge pull request #1364 from rydesun/add-dot-parser
...
Add Graphviz DOT parser
2021-08-29 11:48:36 -07:00
rydesun
c7f118ce55
Add Graphviz DOT parser
2021-08-29 20:21:17 +08:00
Andrew Hlynskyi
53f094f05e
Merge pull request #1362 from ahlinc/fix/891
...
chore(docs): Fix getting started example, closes #891
2021-08-27 11:09:58 +03:00
Andrew Hlynskyi
c1849098f5
chore(docs): Fix getting started example, closes #891
2021-08-27 11:07:49 +03:00
Andrew Hlynskyi
92007dc9b5
Merge pull request #1354 from beyonddream/master
...
chore(docs): Fix broken links of research papers
2021-08-25 01:32:50 +03:00
beyonddream
3c59284df5
Fix broken links of research papers.
2021-08-22 04:07:49 -07:00
Max Brunsfeld
c30ac18900
Merge pull request #1353 from ahlinc/chore/add-license-files-to-npm-packages
...
сhore: Add license files to npm packages
2021-08-21 19:45:29 -07:00
Andrew Hlynskyi
f15700c6bd
chore(web): Add the LICENSE file to the web-tree-sitter npm package
2021-08-22 03:13:46 +03:00
Andrew Hlynskyi
88601000a2
chore(cli): Add the LICENSE file to the tree-sitter-cli npm package
2021-08-22 03:13:46 +03:00