Max Brunsfeld
73e252e39b
Add unit test for child_by_field_name w/ hidden nodes
2021-02-10 16:14:24 -08:00
Max Brunsfeld
038f4fcef8
Merge pull request #890 from wkordalski/fix-child-by-field
...
Fix getting node by field name or ID.
2021-02-10 15:58:31 -08:00
Max Brunsfeld
bf1854cb1b
Merge pull request #917 from ahlinc/contrib/master
...
parser.c - added LOG_LOOKAHEAD macro to escape \n in logging
2021-02-08 22:17:09 -08:00
Andrew Hlynskyi
6448053efa
parser.c - added backslash escaping in LOG_LOOKAHEAD to make it clear in case of \n
2021-02-08 13:33:54 +02:00
Andrew Hlynskyi
51f8b16bb0
parser.c - make LOG_LOKAHEAD simpler according to disscussion in PR #917
2021-02-08 13:32:15 +02:00
Andrew Hlynskyi
f92ad04824
parser.c - added LOG_LOOKAHEAD macro to escape \n in logging
2021-02-08 06:23:55 +02:00
Max Brunsfeld
23b41862ab
Put GH actions badge in the README
2021-02-05 12:22:46 -08:00
Max Brunsfeld
b2ab2e7175
Merge pull request #801 from tree-sitter/actions-ci
...
Switch to GitHub Actions CI.
2021-02-05 12:20:02 -08:00
Max Brunsfeld
242ad90770
Only build the CLI crate when running benchmarks
2021-02-05 11:57:34 -08:00
Max Brunsfeld
9857438d9b
Revert "Print out tar version in CI"
...
This reverts commit 9c480bee23 .
2021-02-05 11:26:40 -08:00
Max Brunsfeld
cd2c571f72
Restore the appveyor config file
2021-02-05 11:09:37 -08:00
Max Brunsfeld
9c480bee23
Print out tar version in CI
2021-02-05 10:35:13 -08:00
Max Brunsfeld
4c93178488
Revert "Revert "Remove emscripten caching again""
...
This reverts commit 82dad76b98 .
2021-02-05 10:27:18 -08:00
Max Brunsfeld
6dbe6a3a90
Merge branch 'master' into actions-ci
2021-02-05 10:19:05 -08:00
Max Brunsfeld
f462f0d09d
Fix small issues with new wasm bindings
2021-02-05 10:18:37 -08:00
Max Brunsfeld
82dad76b98
Revert "Remove emscripten caching again"
...
This reverts commit 94eeb0662f .
2021-02-05 09:44:32 -08:00
Max Brunsfeld
8050c4026c
ci: Use gnu tar on macOS
2021-02-05 09:44:29 -08:00
Max Brunsfeld
f65b499a7c
Merge pull request #911 from michalmuskala/cursor-clone
...
Implement Clone for TreeCursor
2021-02-03 10:38:53 -08:00
Michał Muskała
9f8ffe0164
Implement Clone for TreeCursor
...
Cloning was supported by the C library, but not exposed in Rust bindings
2021-02-03 17:16:13 +00:00
Max Brunsfeld
2b0de9dfec
Fix small bugs in conflict reporting
...
* Negative precedence values were not displayed
* Rule names were repeated in resolution suggestions
2021-02-01 13:30:06 -08:00
Max Brunsfeld
69178fed00
Merge pull request #908 from hvithrafn/language-additions
...
Add several bindings for Language
2021-02-01 12:43:40 -08:00
hvithrafn
752372ee09
Add several bindings for Language
2021-02-01 13:01:10 -07:00
Patrick Thomson
460ce72312
Merge pull request #907 from Razzeee/patch-1
...
Update Elm link
2021-02-01 08:55:59 -05:00
Razzeee
ca760c4d54
Update Elm link
...
I've moved the repo from my personal page to the page ouf our organization
2021-02-01 02:32:16 +01:00
Max Brunsfeld
38444ea7f9
Merge pull request #904 from tree-sitter/character-set-ranges
...
Represent CharacterSet internally as a vector of ranges
2021-01-29 13:35:48 -08:00
Max Brunsfeld
c982d86556
Merge pull request #905 from ahlinc/contrib/master
...
Fix hiding problems in ./build/Debug/tree_sitter_*_binding.node
2021-01-29 08:18:23 -08:00
Andrew Hlynskyi
2b9e5f6c4b
Fix hiding problems in ./build/Debug/tree_sitter_*_binding
...
In debug building modules also may happen errors and a current implementation
completely hides them, so errors like 'undefined symbol' can't be
easily identified due to wrong traceback and error message.
2021-01-29 15:54:10 +02:00
Max Brunsfeld
ab78ab3f9b
Represent CharacterSet internally as a vector of ranges
2021-01-28 16:10:39 -08:00
Max Brunsfeld
17abb583b2
Merge pull request #896 from hvithrafn/load-bytes
...
Modify Language.load to accept bytes directly
2021-01-25 09:23:01 -08:00
hvithrafn
c994adbf61
Modify Language.load to accept bytes directly
2021-01-25 02:06:47 -07:00
Wojciech Kordalski
8e89b8cdb8
Fix getting node by field name or ID.
2021-01-22 18:23:50 +01:00
Max Brunsfeld
da5dcba86e
Merge pull request #882 from hvithrafn/wasm-bindgen-compat
...
Add index.js wrapper for wasm-bindgen compatibility
2021-01-21 21:16:19 -08:00
hvithrafn
6557564b92
Add a non-default export for Parser
2021-01-21 20:37:46 -07:00
Max Brunsfeld
d6ad7484a6
Fix install-rust step in GH CI
2021-01-11 16:59:05 -08:00
Max Brunsfeld
03ff52a31a
Noop to run CI again and test caching
2021-01-11 16:38:19 -08:00
Max Brunsfeld
94eeb0662f
Remove emscripten caching again
2021-01-11 16:13:43 -08:00
Max Brunsfeld
4bedff9c75
Include emscripten version in cache key
2021-01-11 16:03:54 -08:00
Max Brunsfeld
ffef8f53f6
Publish assets to GH releases from CI on tagged builds
2021-01-11 15:46:17 -08:00
Max Brunsfeld
2f5a6598fa
Try again with caching for emscripten
2021-01-11 15:02:50 -08:00
Max Brunsfeld
c1660d201d
Don't cache emscripten stuff for now
2021-01-11 14:37:42 -08:00
Max Brunsfeld
f94d67b42a
Use a publisehd action for setting up emscripten on CI
2021-01-11 14:21:52 -08:00
Max Brunsfeld
1dc127e5da
0.18.0
2021-01-07 17:07:29 -08:00
Max Brunsfeld
ea8a2dcb8e
Add macOS build to GH actions CI
2021-01-05 12:21:55 -08:00
Max Brunsfeld
98135774a8
Merge pull request #863 from yijunyu/master
...
Add --xml option to save the parsed code into XML
2021-01-05 07:43:13 -08:00
Yijun Yu
9e08712773
Add --xml option to save the parsed code into XML, using node.start_byte() and node.end_byte()
2021-01-04 22:07:38 +00:00
Max Brunsfeld
115bf3fd44
Merge pull request #858 from agriffis/fix-gcc-11
...
Fix build with GCC 11
2020-12-22 20:38:52 -08:00
Aron Griffis
e13581b041
Fix build with GCC 11
...
It seems redundant to array_init() when the structure is zeroed already
in the static assignment. But probably the fact that this code juggles
between TSTreeCursor and TreeCursor, without using a union, leaves the
compiler unable to tell that it's been initialized.
Fixes https://github.com/tree-sitter/tree-sitter/issues/853
2020-12-22 15:19:35 -05:00
Max Brunsfeld
d5eb5969f9
Merge pull request #856 from 0xADD1E/master
...
Update CC for additional target support
2020-12-20 20:13:33 -08:00
Max Brunsfeld
391fc8c340
Update unit tests to expect ruby grammar change
2020-12-20 19:34:45 -08:00
Kája Lišková
915834c113
Update CC to version with better target support
...
This is just a minimal set of changes to dependencies.
macOS aarch64 support was only introduced in `cc` version 1.0.58, so this now allows tree-sitter to build natively on M1 computers
2020-12-20 16:09:17 -06:00