Commit Graph

150 Commits

Author SHA1 Message Date
Aleksey Kladov
2389cf96dd G: Never type 2018-02-11 11:01:00 +03:00
Aleksey Kladov
b097090690 G: more types 2018-02-11 00:46:28 +03: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
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
3c9d8ff423 G: names for fns 2018-02-10 14:04:31 +03:00
Aleksey Kladov
fc0a9e266b G: introduce names 2018-02-10 14:00:23 +03:00
Aleksey Kladov
dd6e5371eb G: where clause 2018-02-10 12:53:07 +03:00
Aleksey Kladov
2ef16a4121 G: type item 2018-02-10 12:35:40 +03:00
Aleksey Kladov
ac932df22a reformat 2018-02-09 22:55:50 +03:00
Aleksey Kladov
0ae26c344a Drop ErrorBuilder nonsense 2018-02-09 22:44:50 +03:00
Aleksey Kladov
351107d0b1 Reformat 2018-02-04 17:06:43 +03:00
Aleksey Kladov
c119e8fd8b G: unsafe fn 2018-02-04 17:06:07 +03:00
Aleksey Kladov
85c42fba12 Support contextual tokens 2018-02-04 16:46:26 +03:00
Aleksey Kladov
852543212b Extract parser input into a separate struct 2018-02-04 14:57:57 +03:00
Aleksey Kladov
c74eaf1fdf Simplify 2018-02-04 13:56:51 +03:00
Aleksey Kladov
d94124e3b4 Somewhat more san directory structure 2018-02-04 13:53:47 +03:00
Aleksey Kladov
a40b715ce1 G: unsafe impl & trait 2018-02-04 13:53:05 +03:00
Aleksey Kladov
003ea633e9 Add more inline tests 2018-02-04 12:28:30 +03:00
Aleksey Kladov
9b3d806b0d Add infra for inline tests 2018-02-03 22:34:35 +03:00
Aleksey Kladov
e5273d33d0 G: const item 2018-02-03 12:05:57 +03:00
Aleksey Kladov
0000f4f4f2 G: static items 2018-02-02 23:45:15 +03:00
Aleksey Kladov
be20b014d9 Move type parameter parsing to a separate file 2018-02-02 23:23:39 +03:00
Aleksey Kladov
7cdf990c40 Move use item parsing to a separate file 2018-02-02 22:21:06 +03:00
Aleksey Kladov
c9318e046c G: extern functions 2018-02-02 22:08:37 +03:00
Aleksey Kladov
7a02097b71 Formatting 2018-01-30 22:56:13 +03:00
Aleksey Kladov
197a2e6fef G: type_parameter_list 2018-01-30 22:53:19 +03:00
Aleksey Kladov
55e2a478be Reformat 2018-01-28 23:14:00 +03:00
Aleksey Kladov
b7c141e0b5 Parse enums 2018-01-28 22:59:18 +03:00
Aleksey Kladov
8ca02acb5a Generic params in structs 2018-01-28 21:18:24 +03:00
Aleksey Kladov
7e55b2693f Move struct parsing to a separate module 2018-01-28 21:18:24 +03:00
Aleksey Kladov
d1d47e6244 Skip over balanced parens 2018-01-28 20:53:01 +03:00
Aleksey Kladov
dee7046f7e Don't return SyntaxKind from bump 2018-01-28 14:58:51 +03:00
Aleksey Kladov
2141888782 Rename raw_lookahead -> nth 2018-01-28 14:33:10 +03:00
Aleksey Kladov
60725def49 Simplify 2018-01-28 14:30:59 +03:00
Aleksey Kladov
3cd2b2473b Drop curly_block
closes #13
2018-01-28 14:26:24 +03:00
Aleksey Kladov
83aa6f0899 Simplify item parsing 2018-01-28 12:57:03 +03:00
Aleksey Kladov
d3dedcace8 Document events a bit 2018-01-28 12:06:43 +03:00
Aleksey Kladov
cd4e13f10a Document events a bit 2018-01-28 12:06:26 +03:00
Christopher Durham
4244948c6b Convert SyntaxKind to an enum 2018-01-27 21:52:22 -05:00
Christopher Durham
50b9012e10 Add minimal docs to most public symbols 2018-01-27 20:29:14 -05:00
Christopher Durham
4de3c97b2a Enforce rustfmt format 2018-01-27 18:31:23 -05:00
Aleksey Kladov
3630aeb1ea Drop high-order stuff for good 2018-01-28 01:13:27 +03:00
Aleksey Kladov
b7ae5bbba2 Simplify 2018-01-28 01:12:49 +03:00
Aleksey Kladov
caba13a2dd Simplify 2018-01-28 00:05:31 +03:00
Aleksey Kladov
d280c72338 Simplify 2018-01-22 11:31:55 +03:00
Aleksey Kladov
13c6a34354 Extract nested trees 2018-01-22 11:29:32 +03:00
Aleksey Kladov
645a1b5d73 Remove high-order bits from tuple struct 2018-01-22 02:21:53 +03:00
Aleksey Kladov
efd538d793 Remove high-order bits from attributes 2018-01-21 00:31:29 +03:00
Aleksey Kladov
0b5d39f2a2 Markers API 2018-01-20 23:25:34 +03:00
Aleksey Kladov
be60d5aa66 Drop more high-order stuff 2018-01-20 21:49:58 +03:00
Aleksey Kladov
111743d82c Drop more high-order stuff 2018-01-20 21:07:34 +03:00
Aleksey Kladov
410f948c5f Drop high-order combinators 2018-01-20 17:21:13 +03:00
Aleksey Kladov
3c612bfa3a Simplify 2018-01-15 22:41:57 +03:00
Aleksey Kladov
91fb7e2088 Rename many -> repeat 2018-01-15 21:44:30 +03:00
Aleksey Kladov
08f7c69f90 G: struct flavors 2018-01-13 22:00:26 +03:00
Aleksey Kladov
55891be06a G: use trees 2018-01-13 13:42:19 +03:00
Aleksey Kladov
29b2e0adcc G: allow self & super in paths 2018-01-13 11:55:03 +03:00
Aleksey Kladov
f31d858607 G: visibility 2018-01-12 22:05:46 +03:00
Aleksey Kladov
c111a1f7b8 Nest paths 2018-01-12 20:59:19 +03:00
Aleksey Kladov
ca0c5ea38b Support tree rebalancing 2018-01-12 20:32:37 +03:00
Aleksey Kladov
15ae9026cf Encapsulate position 2018-01-11 23:25:14 +03:00
Aleksey Kladov
9a8e9bc4c6 G: item outer attributes 2018-01-11 23:01:12 +03:00
Aleksey Kladov
89699c4803 G: leading colon is a part of path segment 2018-01-11 22:11:44 +03:00
Aleksey Kladov
41bf98d249 G: multisegment paths 2018-01-11 20:55:08 +03:00
Aleksey Kladov
5ea7e5fb7a G: simplest use items 2018-01-09 23:32:18 +03:00
Aleksey Kladov
1544e89c49 G: mod item 2018-01-09 22:35:55 +03:00
Aleksey Kladov
7f8ca07d86 G: extern crate 2018-01-09 00:06:42 +03:00
Aleksey Kladov
0cf2d6afee Generalized lookahead 2018-01-08 22:40:14 +03:00
Aleksey Kladov
bdddfc9eb8 Musings about items 2018-01-08 22:20:58 +03:00
Aleksey Kladov
b61617f752 G: special-case C++ semicolon 2018-01-08 21:57:19 +03:00
Aleksey Kladov
ea186fe2c0 G: inner attributes 2018-01-08 21:40:00 +03:00
Aleksey Kladov
55027bed08 Split into modules 2018-01-07 21:46:10 +03:00
Aleksey Kladov
0aef78e512 grammar.rs is folder 2018-01-07 21:41:00 +03:00
Aleksey Kladov
7bc974ab2c G: some attributes 2018-01-07 21:40:18 +03:00
Aleksey Kladov
5562931e4f Introduce EOF token 2018-01-07 21:09:05 +03:00
Aleksey Kladov
fc4d6cc298 Simplify non-white token handling 2018-01-07 20:14:26 +03:00
Aleksey Kladov
bbf7e9bbd2 Simiplify 2018-01-07 19:56:33 +03:00
Aleksey Kladov
f194750a2a G: start attributes 2018-01-07 19:50:54 +03:00
Aleksey Kladov
b5034410c8 G: function item 2018-01-07 16:01:30 +03:00
Aleksey Kladov
7c6f0f9128 G: shebang 2018-01-07 15:34:11 +03:00
Aleksey Kladov
9e4052cc2e Test utils 2018-01-07 14:56:08 +03:00
Aleksey Kladov
efcfaae34a Tests for partial parse 2018-01-07 12:32:29 +03:00
Aleksey Kladov
f797c81155 Smart eof for blocks 2018-01-07 12:13:01 +03:00
Aleksey Kladov
31a07da88d Boolean results 2018-01-06 21:54:55 +03:00
Aleksey Kladov
d0900b3ca7 G: struct fields 2018-01-06 17:16:00 +03:00
Aleksey Kladov
55602727c8 Parser: first struct :-) 2018-01-01 23:22:01 +03:00
Aleksey Kladov
46422f722b Parser: first scraches 2018-01-01 22:13:04 +03:00
Aleksey Kladov
cb362626f3 Parser: guess what? Groundwork! 2018-01-01 18:58:46 +03:00
Aleksey Kladov
0af33a2587 Rename 2018-01-01 17:21:53 +03:00
Aleksey Kladov
4cda325530 Parser: even more groundwork 2018-01-01 16:05:46 +03:00
Aleksey Kladov
e24cadb490 Parser: more groundwork 2018-01-01 15:10:56 +03:00
Aleksey Kladov
9ed73378ce Parser: extract sink trait 2018-01-01 00:13:56 +03:00
Aleksey Kladov
8c478a794c Parser: initial 2017-12-31 23:34:29 +03:00
Aleksey Kladov
9ce4db545e Parser: groundwork 2017-12-31 17:54:33 +03:00