Wilfred Hughes
26e1ae40ef
Fix clippy lints
2024-04-28 16:09:54 +07:00
Steinar H. Gunderson
302570591f
Make Stack be allocated on the arena.
...
This fixes another memory leak, and also removes the need for
refcounting the Stack objects and the Node objects they point to.
2024-04-28 15:46:23 +07:00
Steinar H. Gunderson
4fb1478817
Fix memory leak in neighbours array.
...
Vertex is allocated on the arena, so it is never dropped;
then it cannot contain a Vec allocated on the regular heap
without leaking memory. Replace the Vec with a slice allocated
on the arena, which seems to fix most of the leaks. (Some may
remain; I haven't checked fully.) It should also be slightly
more memory-efficient.
It's not clear that we actually need the RefCell instead of
just putting Option directly into the structure, but I've
let it stay.
This issue was probably introduced in a71d6118cf .
2024-04-28 15:46:23 +07:00
Wilfred Hughes
7353a7926f
Try enabling ARM macos on CI
2024-04-28 15:23:45 +07:00
Wilfred Hughes
cafff7f128
Pin mac build to macos-12
2024-04-28 15:16:04 +07:00
Wilfred Hughes
d2cdb96e00
Expand man page and add to changelog
2024-04-28 15:07:23 +07:00
ObserverOfTime
b466ffb4d7
chore: fix crlf line endings
2024-04-28 04:25:52 +07:00
Wilfred Hughes
cb63ca8830
Write a basic man page
2024-04-27 16:21:17 +07:00
Nikolaj Sidorenco
8d65614998
Revert "feat: add node fields"
...
This reverts commit bbf8820bea .
2024-04-26 23:50:55 +07:00
Nikolaj Sidorenco
bbf8820bea
feat: add node fields
2024-04-26 23:47:19 +07:00
Nikolaj Sidorenco
eea72ff3ca
fix: improve if-then-else scoping
2024-04-26 23:40:19 +07:00
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