Max Brunsfeld
|
ae075e75f0
|
tags: Avoid returning garbage pointer when length is zero
|
2020-03-24 14:53:08 -07:00 |
|
Max Brunsfeld
|
9f0bd33429
|
Add missing no_mangle attribute on ts_tagger_delete
|
2020-03-23 11:52:24 -07:00 |
|
Max Brunsfeld
|
59c457c5cf
|
tags: Fix typo in tag ranges
|
2020-03-20 11:35:27 -07:00 |
|
Max Brunsfeld
|
a003e5f6bd
|
generate: Avoid duplicate string tokens in unique symbol map
|
2020-03-20 11:35:11 -07:00 |
|
Max Brunsfeld
|
ae1c51051a
|
Fix tag order in JS tags test
|
2020-03-20 11:34:33 -07:00 |
|
Max Brunsfeld
|
9665f1ba70
|
Create tags readme
|
2020-03-20 10:29:20 -07:00 |
|
Max Brunsfeld
|
aedab72afa
|
tags: Start work on handling local variables for ruby support
|
2020-03-20 10:13:03 -07:00 |
|
Max Brunsfeld
|
651fa38c93
|
Add unit test for tagging via C API. Fix docs handling
|
2020-03-18 10:40:15 -07:00 |
|
Max Brunsfeld
|
e3e1bdba75
|
tags: Start work on C API
|
2020-03-17 13:19:18 -07:00 |
|
Max Brunsfeld
|
591e066226
|
tags: Make cli output more human readable
|
2020-03-17 12:05:09 -07:00 |
|
Max Brunsfeld
|
94a60b8e13
|
tags: Start adapting Tag struct for use in C API
|
2020-03-17 11:19:30 -07:00 |
|
Max Brunsfeld
|
94bbf14d0e
|
tags: Add test where no comments are adjacent to definition
|
2020-03-16 14:28:58 -07:00 |
|
Max Brunsfeld
|
65f2874b9e
|
query: Optimize handling of patterns with a wildcard at the root
Avoid adding and removing states for these patterns on every node in the tree
by just skipping the wildcard step of the matching process
|
2020-03-16 14:02:31 -07:00 |
|
Max Brunsfeld
|
1b3a67834b
|
cli: Fix loading of tags query
|
2020-03-13 16:13:31 -07:00 |
|
Max Brunsfeld
|
b5483c67ab
|
query: allow repetition operator to be used on non-terminal nodes
|
2020-03-13 16:12:39 -07:00 |
|
Max Brunsfeld
|
f170d292e0
|
Suppress unused field warning
|
2020-03-13 13:04:36 -07:00 |
|
Max Brunsfeld
|
b5f2ed83fe
|
tags: Implement select-adjacent! predicate
|
2020-03-13 13:02:56 -07:00 |
|
Max Brunsfeld
|
0457736766
|
rust: add handling of arbitrary predicate operators
|
2020-03-13 13:02:34 -07:00 |
|
Max Brunsfeld
|
6e2df06dc2
|
Start proving out tags support for JavaScript
|
2020-03-12 16:33:52 -07:00 |
|
Max Brunsfeld
|
6f636a0357
|
query: Add postfix '+' operator for token repetition
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
|
2020-03-12 15:10:58 -07:00 |
|
Max Brunsfeld
|
05c1d44e80
|
Merge branch 'master' into tags
|
2020-03-11 13:15:26 -07:00 |
|
Max Brunsfeld
|
e3aad995f6
|
query: Fix handling of patterns with wildcards at the root
|
2020-03-11 13:14:16 -07:00 |
|
Patrick Thomson
|
4dfebbe52d
|
some whitespace and comments
|
2020-03-10 20:46:55 -04:00 |
|
Patrick Thomson
|
d798bd6bd9
|
Slice out the line associated with a tag.
|
2020-03-10 20:39:04 -04:00 |
|
Max Brunsfeld
|
4996cbe830
|
cli: Move more of the tags code from main into the tags module
|
2020-03-10 16:52:10 -07:00 |
|
Max Brunsfeld
|
0e02ead0de
|
Update tags test to reflect new handling of escapes in queries
|
2020-03-10 15:53:42 -07:00 |
|
Max Brunsfeld
|
4531130b44
|
Merge branch 'master' into tags
|
2020-03-10 15:50:27 -07:00 |
|
Max Brunsfeld
|
741eed01b7
|
query: Handle escape sequences and escaped quotes in string literals
|
2020-03-10 15:50:06 -07:00 |
|
Max Brunsfeld
|
d3ab651bd5
|
tags: Add a few comments
|
2020-03-10 14:34:52 -07:00 |
|
Max Brunsfeld
|
fc4d5c3a33
|
🔥 Dead test code
|
2020-03-10 12:23:13 -07:00 |
|
Max Brunsfeld
|
17cc38678c
|
Get generate_tags with the new iterator API
|
2020-03-10 12:05:09 -07:00 |
|
Max Brunsfeld
|
0eb162c685
|
wip: converting generate_tags to return an iterator
|
2020-03-10 11:45:31 -07:00 |
|
Max Brunsfeld
|
157258d881
|
tags: Implement strip regex for docs processing
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
|
2020-03-10 10:43:23 -07:00 |
|
Max Brunsfeld
|
90cacca040
|
rust: Simplify and generalize handling of set! and is? predicates
|
2020-03-10 10:42:22 -07:00 |
|
Max Brunsfeld
|
3c79a10c85
|
Use a hash map to dedup tags
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
|
2020-03-10 09:43:01 -07:00 |
|
Patrick Thomson
|
dd18107314
|
WIP
|
2020-03-10 12:30:32 -04:00 |
|
Max Brunsfeld
|
7f4828254f
|
Fix criteria for detecting when an aborted parse is resuming
|
2020-03-09 11:30:08 -07:00 |
|
Patrick Thomson
|
5d8e288b36
|
Keep track of the last-matched kind to simulate alternating choice.
|
2020-03-06 17:57:24 -05:00 |
|
Patrick Thomson
|
00dcc1eaa6
|
Need to use expression_statement here.
|
2020-03-06 17:48:55 -05:00 |
|
Patrick Thomson
|
8546a71c31
|
Implement class and call tagging.
|
2020-03-06 16:48:15 -05:00 |
|
Max Brunsfeld
|
680a9e0531
|
wip
|
2020-03-06 13:24:03 -08:00 |
|
Max Brunsfeld
|
a3f0087b11
|
Start work on tagging unit test
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
|
2020-03-05 13:04:49 -08:00 |
|
Patrick Thomson
|
38a9f33d9e
|
Simplify Serialize implementation for TagKind.
|
2020-03-05 09:57:57 -05:00 |
|
Max Brunsfeld
|
feac368a30
|
Start work on new tree-sitter-tags crate
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
|
2020-03-04 14:27:31 -08:00 |
|
Alexander Eyers-Taylor
|
5670dd6705
|
Add QL to the playground (#558)
|
2020-03-03 13:46:20 -08:00 |
|
Max Brunsfeld
|
75a910229b
|
web: 0.16.2
|
2020-03-02 15:05:50 -08:00 |
|
Mark Schmitz
|
b1c7768cc2
|
Output also HTML_FOOTER with highlight --html (#550)
* Output also HTML_FOOTER with highlight --html
* move html footer output after end of for loop, as only one closing tag
is needed
|
2020-03-02 15:04:15 -08:00 |
|
Max Brunsfeld
|
078cab3f96
|
rust: 0.6.3
|
2020-03-02 15:02:45 -08:00 |
|
Max Brunsfeld
|
31f3e866cf
|
📝 Add comment for non-terminal extra edge case
|
2020-03-02 14:21:03 -08:00 |
|
Max Brunsfeld
|
ee46218a73
|
Fix incremental parsing problem with non-terminal extras
Also add PHP grammar as a fixture to test against.
|
2020-03-02 14:17:12 -08:00 |
|