Commit Graph

138 Commits

Author SHA1 Message Date
Aleksey Kladov
7e74af3226 Avoid materializing strings 2018-08-28 14:06:30 +03:00
Aleksey Kladov
363f466627 tone down on eq typed 2018-08-28 11:17:08 +03:00
Aleksey Kladov
2fa90e736b better recovery for exprs 2018-08-28 11:12:42 +03:00
Aleksey Kladov
13110f48e9 Log errors 2018-08-28 00:42:13 +03:00
Aleksey Kladov
5751815314 Add runnables 2018-08-27 22:03:19 +03:00
Aleksey Kladov
b79c8b6d8a Fix error blocks 2018-08-27 21:10:02 +03:00
Aleksey Kladov
aaca7d003b move scopes to file 2018-08-27 20:58:38 +03:00
Aleksey Kladov
07cbb7d73d Support if-let in scopes 2018-08-27 12:22:09 +03:00
Aleksey Kladov
c16530c988 visitor-less scopes 2018-08-27 10:12:28 +03:00
Aleksey Kladov
8b0298ce09 scopes 2018-08-27 10:01:31 +03:00
Aleksey Kladov
9b69c7df19 fix curly braces parsing 2018-08-26 19:04:44 +03:00
Aleksey Kladov
ac226021cf scope based comletion 2018-08-26 12:09:28 +03:00
Aleksey Kladov
a450142aca fix stray curly 2018-08-26 09:12:18 +03:00
Aleksey Kladov
367e523442 Require semi after exprs 2018-08-25 16:04:47 +03:00
Aleksey Kladov
a80c07bdff Avoid massacaring errors 2018-08-25 15:12:17 +03:00
Aleksey Kladov
c3e5987c43 incremental reparse 2018-08-25 14:45:17 +03:00
Aleksey Kladov
2d41bc3e6c rename 2018-08-25 14:26:34 +03:00
Aleksey Kladov
da329c2e53 more incremental work 2018-08-25 13:57:13 +03:00
Aleksey Kladov
19d933ba38 join lines works for lambdas 2018-08-25 13:42:40 +03:00
Aleksey Kladov
838820ad98 fix assertione error on block parsing 2018-08-25 13:21:43 +03:00
Aleksey Kladov
fed5727ea2 start incremental reparse 2018-08-25 13:17:54 +03:00
Aleksey Kladov
32c8ea9307 Move atom edit to libsyntax2 2018-08-25 12:44:26 +03:00
Aleksey Kladov
87cd57d56a Refactor 2018-08-25 12:10:35 +03:00
Aleksey Kladov
220d285b4a rename ParsedFile -> File 2018-08-25 11:44:58 +03:00
Aleksey Kladov
cf278ed3bf rename file -> root 2018-08-25 11:44:17 +03:00
Aleksey Kladov
9fae494a8d Move ParsedFile to top 2018-08-25 11:40:17 +03:00
Aleksey Kladov
f104458d45 parameter parsing does not destroy blocks 2018-08-24 20:50:37 +03:00
Aleksey Kladov
b0aac1ca98 rename tests 2018-08-24 19:35:20 +03:00
Aleksey Kladov
7edab6ae6b nodes for blocks 2018-08-24 19:27:30 +03:00
Aleksey Kladov
6cade3f6d8 Runnig tests somehow 2018-08-24 13:41:25 +03:00
Aleksey Kladov
89e56c364f Labeled expressions 2018-08-24 11:45:50 +03:00
Aleksey Kladov
719710a132 break&continue 2018-08-24 11:21:13 +03:00
Aleksey Kladov
a66c94af1b renames 2018-08-24 02:14:10 +03:00
Aleksey Kladov
dc40f1298a better self-types 2018-08-24 01:19:38 +03:00
Aleksey Kladov
cf7d4a2a24 Simplify 2018-08-24 00:48:10 +03:00
Aleksey Kladov
dd64a155e9 rename 2018-08-24 00:16:29 +03:00
Aleksey Kladov
ec70617564 byte literals 2018-08-23 20:04:13 +03:00
Aleksey Kladov
a077533513 Allow arbitrary self-types 2018-08-23 19:07:33 +03:00
Aleksey Kladov
8d82d1551e Extend add impl 2018-08-22 19:06:30 +03:00
Aleksey Kladov
147578f0fe add impl initial 2018-08-22 18:05:43 +03:00
Aleksey Kladov
69a524fbef dedupe 2018-08-22 17:01:51 +03:00
Aleksey Kladov
8e3bec11eb TypeParamList Owner 2018-08-22 16:46:42 +03:00
Aleksey Kladov
55896aedb1 minor 2018-08-22 15:01:34 +03:00
Aleksey Kladov
a4f140b0f3 no escape 2018-08-22 13:22:06 +03:00
Aleksey Kladov
641659d5a8 Smarter extend selection 2018-08-22 11:56:36 +03:00
Aleksey Kladov
b937262c9b Module map implementation 2018-08-21 18:30:10 +03:00
Aleksey Kladov
4d8be26584 refactor 2018-08-18 12:42:28 +03:00
Aleksey Kladov
a5eeef0eee better char lexing 2018-08-18 12:13:34 +03:00
Aleksey Kladov
c7b1be6be3 Owned 2018-08-17 22:03:55 +03:00
Aleksey Kladov
d3c90ded2b Borrowed AST 2018-08-17 22:00:13 +03:00
Aleksey Kladov
70097504f7 hide root 2018-08-17 21:10:55 +03:00
Aleksey Kladov
41570f60bf extend module resolve to mod.rs 2018-08-17 16:04:34 +03:00
Aleksey Kladov
081c16c776 initial mod resolve 2018-08-17 15:37:17 +03:00
Aleksey Kladov
6a3f819f79 move smol_str to a separare repo 2018-08-16 23:40:48 +03:00
Aleksey Kladov
eda52cbc34 allow field attrs 2018-08-16 13:20:59 +03:00
Aleksey Kladov
a5515d9d6f Add derive handles cursor 2018-08-16 13:11:20 +03:00
Aleksey Kladov
7094291573 tt-attrs 2018-08-16 12:51:40 +03:00
Aleksey Kladov
a7d31b55a4 Simplify walk 2018-08-15 21:25:29 +03:00
Aleksey Kladov
109658332a Support raw strings in lexer 2018-08-14 15:03:27 +03:00
Aleksey Kladov
199e3b73c7 fields are part of the structure 2018-08-14 14:45:56 +03:00
Aleksey Kladov
1141d448d9 Add derive intention 2018-08-14 13:33:44 +03:00
Aleksey Kladov
5953a348bd Less hackish impl structure 2018-08-14 12:38:20 +03:00
Aleksey Kladov
de02d2891e full range expr 2018-08-14 11:46:46 +03:00
Aleksey Kladov
2b828c68e8 separete structure from symbols 2018-08-14 11:20:09 +03:00
Aleksey Kladov
49ab441024 Qualified paths 2018-08-13 23:54:00 +03:00
Aleksey Kladov
439e0fd32e Fix some more bugs 2018-08-13 18:46:43 +03:00
Aleksey Kladov
7d0c9cf546 Optional patterns in trait methods 2018-08-13 18:40:47 +03:00
Aleksey Kladov
c146331b1c rename 2018-08-13 18:36:16 +03:00
Aleksey Kladov
1d95f34e9a More renames 2018-08-13 18:34:02 +03:00
Aleksey Kladov
d642c48616 forgotten test 2018-08-13 18:31:28 +03:00
Aleksey Kladov
51f7f937a5 Safer errors 2018-08-13 18:30:56 +03:00
Aleksey Kladov
c1a7b72fb7 renames 2018-08-13 18:27:26 +03:00
Aleksey Kladov
9149fd2c0c Fix some parser bugs 2018-08-13 18:24:17 +03:00
Aleksey Kladov
d1eceefeb8 dyn type 2018-08-13 17:42:43 +03:00
Aleksey Kladov
8ae56fa6d0 Stupid goto definition 2018-08-13 16:35:17 +03:00
Aleksey Kladov
ed2ac17133 smol_str to a crate 2018-08-13 14:24:22 +03:00
Aleksey Kladov
66be735aa9 flip comma 2018-08-12 18:50:16 +03:00
Aleksey Kladov
56aa6e20e0 More symbols 2018-08-11 16:20:37 +03:00
Aleksey Kladov
7afd84febc visitor 2018-08-11 12:28:59 +03:00
Aleksey Kladov
d5119133fc heck 2018-08-11 11:03:22 +03:00
Aleksey Kladov
78f41ea707 more renames 2018-08-11 10:56:40 +03:00
Aleksey Kladov
2e971cdcbb Use dict for AST 2018-08-11 10:11:58 +03:00
Aleksey Kladov
e69c70e2a2 ENUM_ITEM -> ENUM 2018-08-11 10:05:26 +03:00
Aleksey Kladov
7698d37fa4 STRUCT_ITEM -> STRUCT 2018-08-11 10:04:47 +03:00
Aleksey Kladov
ce898183b8 Simplify tests 2018-08-11 10:03:03 +03:00
Aleksey Kladov
b18d2882f4 Generate accessors 2018-08-11 09:55:32 +03:00
Aleksey Kladov
7581984601 bump ron 2018-08-11 09:38:27 +03:00
Aleksey Kladov
7c67612b8a organizize 2018-08-10 22:33:29 +03:00