Commit Graph

16026 Commits

Author SHA1 Message Date
Aleksey Kladov
aea86d154e stackless traversal 2018-07-30 23:45:10 +03:00
Aleksey Kladov
70b3372921 Don't allocate when traversing children 2018-07-30 23:20:02 +03:00
Aleksey Kladov
27a40e0a88 type param defaults 2018-07-30 22:27:23 +03:00
Aleksey Kladov
72d49c5a10 cmd to install code extension 2018-07-30 22:17:33 +03:00
Aleksey Kladov
ac0d8c48f7 JS plugin 2018-07-30 21:58:49 +03:00
Aleksey Kladov
6fc66c4ee6 Use boxed sliced for red nodes 2018-07-30 18:14:14 +03:00
Aleksey Kladov
beaddb4780 Intern static tokens 2018-07-30 18:11:33 +03:00
Aleksey Kladov
60e8a845ca simplify codegen 2018-07-30 18:02:13 +03:00
Aleksey Kladov
7fb7cfc2d1 generate single byte tokens 2018-07-30 17:46:50 +03:00
Aleksey Kladov
d436694097 Path expressions 2018-07-30 17:02:51 +03:00
Aleksey Kladov
69c385e810 Fix compilation for real 2018-07-30 16:32:27 +03:00
Aleksey Kladov
67424000a9 Fix compilation 2018-07-30 16:25:10 +03:00
Aleksey Kladov
3b6a6f6673 Add render test functionality 2018-07-30 16:16:58 +03:00
Aleksey Kladov
d39198490f fn ret type 2018-07-30 15:32:19 +03:00
Aleksey Kladov
333e140a50 Mior 2018-07-30 15:25:52 +03:00
Aleksey Kladov
d30a2e4fac Don\'t block on rustfmt 2018-07-30 15:07:41 +03:00
Aleksey Kladov
9f1f2f952c nightly rustfmt 2018-07-30 14:14:11 +03:00
Aleksey Kladov
1edb58a802 reformat 2018-07-30 14:08:06 +03:00
Aleksey Kladov
6983091d6d Cleanup tools 2018-07-30 14:06:22 +03:00
Aleksey Kladov
9a4957d143 clean comments 2018-07-30 12:52:59 +03:00
Aleksey Kladov
97bb223279 Remove indirection 2018-07-30 12:46:42 +03:00
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