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
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
1edb58a802
reformat
2018-07-30 14:08:06 +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
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