Commit Graph

15321 Commits (97bab8373005ae8e2ea3c174f4e0bc81795ec421)
 

Author SHA1 Message Date
Nikolaj Sidorenco 5e39d09278
feat: xml docstring node 2024-04-26 17:51:53 +07:00
Nikolaj Sidorenco 558ece751f
fix: allow 'with' on new line in match 2024-04-26 17:42:59 +07:00
Nikolaj Sidorenco e1baccf75b
fix: curried member args 2024-04-25 23:35:32 +07:00
Nikolaj Sidorenco 03b3cfd077
fix: fun decl vs value decl 2024-04-25 23:32:02 +07:00
Nikolaj Sidorenco 4357486c98
fix: new object expression 2024-04-25 23:24:09 +07:00
Nikolaj Sidorenco 2ea9f08c78
fix: prefix op vs infix op 2024-04-25 23:18:51 +07:00
Nikolaj Sidorenco 7a793db220
fix: seq expression following decl expression 2024-04-25 22:41:07 +07:00
Manuel 5ade0bbe9c readme: direct link to languages section 2024-04-25 07:23:49 +07:00
Nikolaj Sidorenco 0b7fcabb78
fix: allow underindentation in call expr 2024-04-24 22:19:23 +07:00
Nikolaj Sidorenco a863770063
feat: interfaces with property members 2024-04-24 19:38:45 +07:00
Nikolaj Sidorenco c4629d89cc
fix: allow for more symbolic ops 2024-04-23 23:24:42 +07:00
Nikolaj Sidorenco 2000dae552
fix: recursive let defn 2024-04-23 23:11:46 +07:00
Nikolaj Sidorenco 7696a575ea
feat: format strings 2024-04-22 17:55:47 +07:00
Nikolaj Sidorenco 3720231a64
fix: ce expression on same line as decl 2024-04-22 17:26:40 +07:00
Nikolaj Sidorenco 93bb9b4eeb
add tests 2024-04-22 17:07:03 +07:00
Nikolaj Sidorenco ca523029ed
feat: named interface parameters 2024-04-22 17:04:11 +07:00
Nikolaj Sidorenco 68178876be
feat: generic method arguments 2024-04-21 17:50:20 +07:00
Nikolaj Sidorenco 73c25c457c
feat: additional class constructors 2024-04-21 17:32:26 +07:00
Nikolaj Sidorenco ce21e3343a
feat: slice ranges 2024-04-21 16:39:12 +07:00
Nikolaj Sidorenco 81281b6024
fix: argument pattern vs pattern 2024-04-20 15:30:00 +07:00
Nikolaj Sidorenco 006922183e
fix: allow creating underindented scope 2024-04-20 14:20:46 +07:00
Nikolaj Sidorenco bd3391c60f
fix: resolve conflict with rules vs seq expr 2024-04-20 13:56:06 +07:00
Nikolaj Sidorenco 5238929492
fix: parse more than three rules in match expression 2024-04-19 16:11:39 +07:00
Nikolaj Sidorenco ee8d1dcc6e
fix: object expressions 2024-04-18 22:27:26 +07:00
Nikolaj Sidorenco 385792d371
fix: increase precedence of escape chars 2024-04-18 19:34:55 +07:00
Nikolaj Sidorenco 9b6903a9f4
feat: attributes on value declarations 2024-04-18 19:24:01 +07:00
Nikolaj Sidorenco 4126b6c1ab
add failing test 2024-04-17 20:18:49 +07:00
Nikolaj Sidorenco 098d1b2a90
feat: interface anon type definition 2024-04-17 16:56:42 +07:00
Nikolaj Sidorenco 2bebb411e2
add test for nested records 2024-04-17 16:41:03 +07:00
Nikolaj Sidorenco 4e5fc13824
remove skip flag from tests 2024-04-16 23:40:16 +07:00
dependabot[bot] 8abe60d314
Bump tree-sitter-cli from 0.22.2 to 0.22.5 (#47) 2024-04-16 20:20:10 +07:00
Chris Kipp b76db435a7
Merge pull request #395 from tree-sitter/generation
chore: generate and sync latest changes
2024-04-16 10:13:38 +07:00
GitHub 4b10c34fd1 chore: generate and sync from d3eb6b2382 2024-04-16 05:03:27 +07:00
Chris Kipp d3eb6b2382
Merge pull request #394 from eed3si9n/wip/op
Exclude colon, at, and equal from single opchar
2024-04-15 08:51:25 +07:00
Amaan Qureshi 72fd00128f
0.22.0 2024-04-14 21:38:58 +07:00
Nikolaj Sidorenco a4d418e426
fix: nested if-expressions (#46)
* linting

* start

* fix nested if expressions
2024-04-14 22:37:54 +07:00
Amaan Qureshi f3d2757f11 chore: generate 2024-04-14 16:03:44 +07:00
Amaan Qureshi f8efc57abe feat: support reference declarators in types 2024-04-14 16:03:44 +07:00
Amaan Qureshi 60d357fc70 feat: add optional attribute declarations after 'namespace' 2024-04-14 16:03:44 +07:00
Amaan Qureshi 1c3c93d727 feat: support pure virtual destructors 2024-04-14 16:03:44 +07:00
Amaan Qureshi aa79a170c6 fix: specifier and virtual do not strictly require each other 2024-04-14 16:03:44 +07:00
Eugene Yokota 16a7075940 Add RefChecks.scala as differential test 2024-04-14 14:36:39 +07:00
Eugene Yokota 91529e9157 Exclude colon, at, and equal from single opchar
**Problem**
Currently operator_identifier includes characters
like colon at and equal even though they cannot be a legal
operator without backticks.
Having equal etc pushes tree-sitter into thinking some
construct to be an infix operation when they are `=`.

Another compilication is Unicode Math symbols,
which includes equal sign.

**Solution**
Remove colon, at, equal sign, and Math symbols from the
single-char operator_identifier.
This adds back back a few Math symbol unicodes.
2024-04-14 14:08:25 +07:00
Nikolaj Sidorenco 5759834b95
grammar cleanup 2024-04-14 17:03:43 +07:00
Amaan Qureshi f79b9d9859
fix(scanner): only call memcpy if `length` is greater than 0 2024-04-11 21:23:17 +07:00
Wilfred Hughes f52ca706f3 Enable --strip-cr by default
Line ending differences between input files often leads to confusing
diffs, so remove carriage returns unless explicitly requested.

Fixes #653
Fixes #696
2024-04-09 08:37:41 +07:00
Amaan Qureshi eb68645662
fix: rename highlights query constant 2024-04-08 18:09:12 +07:00
Nikolaj Sidorenco 4974d1e3c5
fix optional parameters 2024-04-08 21:37:19 +07:00
Nikolaj Sidorenco 6adabb9344
fix call expression 2024-04-08 19:38:01 +07:00
Nikolaj Sidorenco a3c34da73f
refine index expression 2024-04-08 19:27:41 +07:00