Commit Graph

17055 Commits

Author SHA1 Message Date
Aleksey Kladov
a2a810f118 Add parent links 2018-07-30 12:44:14 +03:00
Aleksey Kladov
423298dddd Trait for tree root 2018-07-30 12:37:03 +03:00
Aleksey Kladov
ae849cf134 Owned&Borrowed nodes
HOLLY COW, UNLIKE C++, WE CAN BE GENERIC WRT OWNERSHIP/BORROWING, SO
WE CAN BOTH MAKE SYNTAX NODES OWNED (WHICH IS CONVENIENT) AND
BORROWED (WHICH IS CONVENIENT FOR LOCAL PROCESSING, BC YOU DON'T NEED
TO BUMP REFCOUNTS).
2018-07-30 03:21:17 +03:00
Aleksey Kladov
83acbc06bd No need to Arc reds, they are rooted anyways 2018-07-30 02:39:26 +03:00
Aleksey Kladov
4e79073e38 Use raw pointers 2018-07-30 02:23:07 +03:00
Aleksey Kladov
b87291a8a4 Move grammar 2018-07-30 02:23:07 +03:00
bors[bot]
959cd92045 Merge #55
55: Add Clippy to CI r=matklad a=phansch

Fixes #19 

Co-authored-by: Philipp Hansch <dev@phansch.net>
2018-07-29 23:02:32 +00:00
Philipp Hansch
7e0a84c36f
Add Clippy to CI 2018-07-29 15:41:54 +02:00
Aleksey Kladov
13c6a5c4b0 Avoid optimizing trivia for now 2018-07-29 16:19:16 +03:00
Aleksey Kladov
415c891d64 Reorganize 2018-07-29 15:16:07 +03:00
Aleksey Kladov
ad188d4c3d kill old tree 2018-07-29 14:37:48 +03:00
Aleksey Kladov
c12450fb4e Introduce red-green syntax tree 2018-07-29 13:51:55 +03:00
Aleksey Kladov
8d9961b753 Migrate to text-unit 2018-07-28 13:07:10 +03:00
Aleksey Kladov
52dc0ddc84 Add vis test 2018-07-28 13:00:16 +03:00
bors[bot]
9500ad5211 Merge #54
54: G: value_parameters, patterns & let statement r=matklad a=matklad

bors r+
2018-02-17 22:07:16 +00:00
Aleksey Kladov
c6f4a06b42 G: value_parameters, patterns & let statement 2018-02-18 01:06:48 +03:00
bors[bot]
8c4c5b5b80 Merge #53
53: More correct path type r=matklad a=matklad

bors r+
2018-02-17 13:27:54 +00:00
Aleksey Kladov
1c4e05ec2f More correct path type 2018-02-17 16:27:17 +03:00
bors[bot]
94681450f8 Merge #52
52: Use stable rustfmt-preview r=matklad a=matklad

bors r+
2018-02-16 22:05:32 +00:00
Aleksey Kladov
b920b3d50b Use stable rustfmt-preview 2018-02-17 01:05:07 +03:00
bors[bot]
97c0258bc0 Merge #51
51: G: for type r=matklad a=matklad

bors r+
2018-02-11 20:38:47 +00:00
Aleksey Kladov
c8910b0683 G: for type 2018-02-11 23:32:49 +03:00
bors[bot]
a6f9b0414c Merge #50
50: Shiny new parser r=matklad a=matklad

bors r+
2018-02-11 14:59:58 +00:00
Aleksey Kladov
f356628ad8 Formatting 2018-02-11 17:59:24 +03:00
Aleksey Kladov
59087840f5 Document how the parsing works 2018-02-11 17:58:22 +03:00
Aleksey Kladov
9e2c056478 Separate parser API from implementation 2018-02-11 16:53:57 +03:00
bors[bot]
7a0ada860b Merge #49
49: Simplify r=matklad a=matklad

bors r+
2018-02-11 10:19:32 +00:00
Aleksey Kladov
65ebfd9a34 Simplify 2018-02-11 13:19:10 +03:00
bors[bot]
7176029803 Merge #48
48: Types r=matklad a=matklad

bors r+
2018-02-11 09:58:32 +00:00
Aleksey Kladov
96437b050f Formatting 2018-02-11 12:58:12 +03:00
Aleksey Kladov
8a3f17a4e2 G: fn pointer type 2018-02-11 12:51:09 +03:00
Aleksey Kladov
2fb33b2d0d G: placeholder types 2018-02-11 11:57:05 +03:00
Aleksey Kladov
eb4c05d572 G: reference types 2018-02-11 11:54:09 +03:00
Aleksey Kladov
555c4ae375 G: slice & array types 2018-02-11 11:37:08 +03:00
Aleksey Kladov
ceb94ece2a G: pointer types 2018-02-11 11:19:54 +03:00
Aleksey Kladov
2389cf96dd G: Never type 2018-02-11 11:01:00 +03:00
bors[bot]
e19d038a0e Merge #47
47: G: more types r=matklad a=matklad

bors r+
2018-02-10 21:47:04 +00:00
Aleksey Kladov
b097090690 G: more types 2018-02-11 00:46:28 +03:00
bors[bot]
b814d93151 Merge #46
46: Names r=matklad a=matklad

bors r+
2018-02-10 11:23:41 +00:00
Aleksey Kladov
199b3a1604 G: use name in mods 2018-02-10 14:23:18 +03:00
Aleksey Kladov
d68a187eb5 G: use name in types 2018-02-10 14:22:31 +03:00
Aleksey Kladov
3aec74bc5b Reformat 2018-02-10 14:18:38 +03:00
Aleksey Kladov
e792ec3eca G: use name refs in paths 2018-02-10 14:17:38 +03:00
Aleksey Kladov
fa2131365e G: use names in traits 2018-02-10 14:15:04 +03:00
Aleksey Kladov
c13e6db774 G: use names in fields 2018-02-10 14:13:30 +03:00
Aleksey Kladov
8a735b6672 G: use names in enums 2018-02-10 14:10:50 +03:00
Aleksey Kladov
ca6e93f091 G: use names in structs 2018-02-10 14:10:02 +03:00
Aleksey Kladov
f746fb6a93 G: use names in consts 2018-02-10 14:08:46 +03:00
Aleksey Kladov
1401f5af4a Allow to update files en masse 2018-02-10 14:07:02 +03:00
Aleksey Kladov
3c9d8ff423 G: names for fns 2018-02-10 14:04:31 +03:00