Aleksey Kladov
892acc5b36
impl items
2018-07-31 18:03:50 +03:00
Aleksey Kladov
edf2b17a57
allow items inside blocks
2018-07-31 17:43:44 +03:00
Aleksey Kladov
9f87c9a3f9
Field expr
2018-07-31 17:35:54 +03:00
Aleksey Kladov
9ce7e81102
cleanups
2018-07-31 15:40:40 +03:00
Aleksey Kladov
2a2815266b
refactor ascription
2018-07-31 15:35:59 +03:00
Aleksey Kladov
f843f23aba
Type ascription in let
2018-07-31 15:33:51 +03:00
Aleksey Kladov
580340d1b8
mut bindings
2018-07-31 15:30:11 +03:00
Aleksey Kladov
346f6e4f7d
impl type&trait
2018-07-31 15:08:04 +03:00
Aleksey Kladov
9dcb79a602
Bare & default impls
2018-07-31 14:00:22 +03:00
Aleksey Kladov
407ebbc552
More fool-proof API
2018-07-31 13:49:03 +03:00
Aleksey Kladov
87b5e14c75
Fix indexing errors
2018-07-31 13:41:30 +03:00
Aleksey Kladov
9e02e432b5
expr stmt
2018-07-31 12:59:52 +03:00
Aleksey Kladov
66182ed5d5
Ref exprs
2018-07-31 12:51:00 +03:00
Aleksey Kladov
ff71cb1f6d
Introduce param & arg list
2018-07-31 12:32:53 +03:00
Aleksey Kladov
c244dd1034
Call expr
2018-07-31 12:26:19 +03:00
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