Max Brunsfeld
ba9c44e715
Merge pull request #983 from tree-sitter/negated-field-patterns
...
Add negated field patterns to queries
2021-03-12 15:07:55 -08:00
Max Brunsfeld
bc0ef5f373
Add negated field patterns to queries
2021-03-12 14:38:02 -08:00
Max Brunsfeld
62a61c3540
Fix some doc comments in query.c
2021-03-12 12:45:18 -08:00
Max Brunsfeld
08d17e33bd
Fix unused import warning on windows
2021-03-11 16:43:20 -08:00
Max Brunsfeld
d366356299
Merge pull request #978 from tree-sitter/fix-get-column-at-eof
...
Fix the behavior of Lexer.get_column
2021-03-11 16:42:39 -08:00
Max Brunsfeld
e1a1006b3d
Merge pull request #866 from rhysd/patch-1
...
Fix typo in document
2021-03-11 15:21:45 -08:00
Max Brunsfeld
a40045a419
When editing, properly invalidate trees that depend on get_column
2021-03-11 14:46:13 -08:00
Max Brunsfeld
e29d3714f7
Fix behavior of Lexer.get_column when at EOF
2021-03-11 12:11:33 -08:00
Max Brunsfeld
57036b4f8a
Extract lexer helper functions for all large char sets
...
No need to restrict it to char sets used in multiple places.
This is important because the helper functions are now implemented
more efficiently than the inline comparisons (using a binary search).
2021-03-11 11:48:48 -08:00
Max Brunsfeld
b11e4ff1dd
Merge pull request #834 from ostera/patch-1
...
Add Erlang and S-exp to available parser list
2021-03-11 09:28:33 -08:00
Max Brunsfeld
b1c5813238
Merge pull request #842 from BonaBeavis/patch-1
...
Add Turtle parser
2021-03-11 09:28:00 -08:00
Max Brunsfeld
e51e6ba20f
Merge pull request #875 from nilshelmig/patch-1
...
Adding link to sourcepawn grammar
2021-03-11 09:26:44 -08:00
Max Brunsfeld
7ebdebeafd
Merge pull request #871 from marcel0ll/master
...
Add ";" as comment in s-expressions
2021-03-11 09:24:50 -08:00
Max Brunsfeld
ca05d030d0
Merge pull request #977 from ahlinc/fix/dsl-sym
...
dsl.js - Reuse sym() in RuleBuilder
2021-03-11 09:22:54 -08:00
Andrew Hlynskyi
a331607f4e
dsl.js: Reuse sym() in RuleBuilder
2021-03-10 23:06:53 +02:00
Max Brunsfeld
5ecdfce122
Merge pull request #850 from berkus/patch-1
...
Fix typo
2021-03-09 15:07:48 -08:00
Max Brunsfeld
9dc88061d5
query: Fix last child operator with multiple children
...
Fixes #806
2021-03-09 13:40:15 -08:00
Max Brunsfeld
24785cdb39
0.19.3
2021-03-08 16:36:59 -08:00
Max Brunsfeld
9e50befcf8
For node-types.json, process supertypes in a stable order
2021-03-08 12:02:01 -08:00
Max Brunsfeld
8e894ff3f1
Add --no-bindings flag to generate subcommand
2021-03-08 12:01:45 -08:00
Max Brunsfeld
841e160898
rust libs: 0.19.2
2021-03-08 10:03:45 -08:00
Max Brunsfeld
0b4794106d
Merge pull request #971 from tree-sitter/fix-query-analsyis-with-extras
...
Fix handling of extra nodes in query analysis
2021-03-08 09:54:02 -08:00
Max Brunsfeld
6ba11d7778
Fix query analysis with top-level non-terminal extras
...
Fixes https://github.com/tree-sitter/tree-sitter/issues/968#issuecomment-792314281
2021-03-08 09:33:35 -08:00
Patrick Thomson
0965aec5ba
Merge pull request #974 from ahlinc/feat/gitignore
...
Added libtree-sitter.so* files into .gitignore
2021-03-08 11:20:10 -05:00
Andrew Hlynskyi
ef76c03e38
Added libtree-sitter.so* files into .gitignore
2021-03-08 10:06:59 +02:00
Max Brunsfeld
5a2534ac4a
Fix crash on unterminated alternation in query
...
Fixes #968
2021-03-07 08:48:03 -08:00
Max Brunsfeld
f18c36ca62
Fix handling of extra nodes in query analysis
...
Fixes #967
2021-03-06 14:35:41 -08:00
Max Brunsfeld
d037c4914d
0.19.2
2021-03-05 15:35:51 -08:00
Max Brunsfeld
0818892a1a
libs: 0.19.1
2021-03-05 15:31:48 -08:00
Max Brunsfeld
5a964b1b70
Merge pull request #965 from tree-sitter/query-fixes
...
Fix problems found in investigating dropped query matches
2021-03-05 15:26:58 -08:00
Max Brunsfeld
db6e1d9bdc
Add ts_query_cursor_did_exceed_match_limit API
2021-03-05 15:02:49 -08:00
Max Brunsfeld
047d33eecf
Remove bad logic for detecting later siblings with the same field
...
Co-authored-by: Douglas Creager <dcreager@dcreager.net>
2021-03-05 14:50:16 -08:00
Max Brunsfeld
7300249d20
Fix incorrect merging of states with different inherited fields
...
Co-authored-by: Douglas Creager <dcreager@dcreager.net>
2021-03-05 14:49:28 -08:00
Max Brunsfeld
e20aff9a9c
Fix templates for rust binding files
2021-03-04 14:22:31 -08:00
Max Brunsfeld
e12093e8df
Fix regression introduced in CharacterSet optimization
2021-03-04 13:50:27 -08:00
Max Brunsfeld
d6254e35c3
0.19.1
2021-03-03 13:35:38 -08:00
Max Brunsfeld
dd4cba2625
Allow symbols to be used in precedence lists
2021-03-03 13:11:05 -08:00
Max Brunsfeld
24d0a6a817
Merge pull request #961 from jonhue/fix-precedence-typings
...
Fix precedence typings
2021-03-02 11:09:16 -08:00
Jonas Hübotter
67787f4512
Fix precedence typings
2021-03-02 10:34:47 +01:00
Max Brunsfeld
22fb88e89d
Bump library versions to 0.19
2021-03-01 14:46:43 -08:00
Max Brunsfeld
889dcef50b
Update typescript declarations for new precedence features
...
Refs #939
2021-03-01 13:18:16 -08:00
Max Brunsfeld
5f1bb20c49
0.19.0
2021-03-01 12:19:41 -08:00
Max Brunsfeld
a387b9a62f
Merge pull request #956 from lazytype/master
...
Slightly improve highlight test hygiene
2021-03-01 12:15:02 -08:00
lazytype
0c4ea79e2e
Slightly improve highlight test hygiene
2021-03-01 14:13:02 -05:00
Max Brunsfeld
592fd8678d
Organize TSLanguage fields
...
Due to the breaking ABI change in #943 , this is our chance
to reorder the fields in a more logical way.
2021-03-01 10:27:22 -08:00
Max Brunsfeld
a6b267201f
Merge pull request #952 from lazytype/master
...
Support highlighting in truecolor, falling back to the closest xterm …
2021-03-01 09:19:31 -08:00
Max Brunsfeld
3f315f167b
Merge pull request #945 from hvithrafn/update-dependencies
...
Update dependencies; fix breakage
2021-03-01 09:15:38 -08:00
lazytype
5de649b7aa
Support highlighting in truecolor, falling back to the closest xterm color if the terminal does not support it
...
Fixes #758
2021-02-28 16:22:45 -05:00
Max Brunsfeld
c98dc566d5
In npm install, use x64 on ARM macs for now
...
Fixes #942
2021-02-26 15:57:18 -08:00
Max Brunsfeld
41e9af2456
Avoid including undefined in return value of Query.matches
...
Fixes #932
2021-02-26 15:16:07 -08:00