Commit graph

3785 commits

Author SHA1 Message Date
Max Brunsfeld
21fd9ee36c
Merge pull request #1412 from ahelwer/windows-test-failures
Fixed some test failures due to CRLF line endings
2021-10-05 14:13:26 -07:00
Max Brunsfeld
15860392c5
Merge pull request #1427 from aminya/serde
Use serde's derive feature
2021-10-05 10:01:16 -07:00
Amin Yahyaabadi
8a5620ce15 Use serde's derive feature 2021-10-05 02:38:18 -05:00
Max Brunsfeld
7890a29db0
Merge pull request #1422 from Wilfred/docs_fix
Add missing word in doc comment
2021-09-30 23:24:59 -07:00
Wilfred Hughes
f17f08bbef Add missing word in doc comment 2021-09-30 21:53:41 -07:00
Andrew Helwer
993e93eeee Fix linux build 2021-09-28 19:06:05 -04:00
Andrew Helwer
3b5f9cb642 Fixed cargo fmt 2021-09-28 18:53:24 -04:00
Andrew Helwer
815c281c48 Fix ci.yml format 2021-09-28 18:52:12 -04:00
Andrew Helwer
8eef790a61 Build rust with warnings=errors 2021-09-28 18:51:09 -04:00
Andrew Helwer
652235a6b8 Moved windows build out into separate job 2021-09-28 18:45:27 -04:00
Andrew Helwer
eeff48d79f Specify bash shell 2021-09-28 18:35:40 -04:00
Andrew Helwer
e8e4dafa92 Fixed cargo fmt suggestions 2021-09-28 18:31:04 -04:00
Andrew Helwer
02253866d7 Added windows to github CI workflow 2021-09-28 18:28:56 -04:00
Andrew Helwer
3d1f760e31 Simplified corpus test output comparisons 2021-09-28 18:27:25 -04:00
Max Brunsfeld
4ff2172857
Merge pull request #1414 from theHamsta/add-my-parsers
Add tree-sitter-cuda, tree-sitter-glsl, tree-sitter-commonlisp
2021-09-27 11:46:17 -07:00
Stephan Seitz
2f484a2bcb Add tree-sitter-cuda, tree-sitter-glsl, tree-sitter-commonlisp 2021-09-26 12:21:38 +02:00
Andrew Helwer
0c3fb6e6a2 Fixed cargo fmt issues 2021-09-24 22:49:25 -04:00
Andrew Helwer
0dc1bd806f Fixed some test failures due to CRLF line endings 2021-09-24 22:42:38 -04:00
Max Brunsfeld
929c89e781
Merge pull request #1238 from m-novikov/m-novikov-add-parsers
Add SQL parser
2021-09-24 09:04:36 -07:00
Max Brunsfeld
e7dcd2b7c4
Merge branch 'master' into m-novikov-add-parsers 2021-09-24 09:04:30 -07:00
Max Brunsfeld
561dfe3a2d
Merge pull request #1394 from tree-sitter/fix/query-predicates-with-alternations
fix(cli): Panic on queries containing alternation with predicates
2021-09-24 08:56:23 -07:00
Max Brunsfeld
2bee7c9b75 Update get_column docs
Fixes #1405
2021-09-22 13:53:42 -07:00
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
Andrew Hlynskyi
79b2bf1c30 fix(wasm): Fix predicates in alternations, resolves #1392 2021-09-21 21:13:41 +03:00
Andrew Hlynskyi
b324d0802a fix(cli): Panic on queries containing alternation with predicates
`QuearyMatch::satisfies_text_predicates()` was changed to pass
captures that don't relate to a checked predicate. This allows
predicates in inner alternations for queries.

Refs #1392
2021-09-21 19:51:30 +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