Commit graph

436 commits

Author SHA1 Message Date
Richard Feldman
1f178d7c1a Reproduce 2-def bug 2019-09-30 16:54:58 +03:00
Richard Feldman
981208f548 Fix bug with space0/1_after 2019-09-30 16:44:28 +03:00
Richard Feldman
49d2faad4e Fix some defs parsing logic 2019-09-30 11:24:09 +03:00
Richard Feldman
fb646a5fa7 Parse comments at the start of expr tests 2019-09-30 11:07:05 +03:00
Richard Feldman
7cdbd83ee8 Fix spaces around = in def 2019-09-29 22:44:10 +03:00
Richard Feldman
fda3d3056a Get basic def working 2019-09-29 22:32:02 +03:00
Richard Feldman
f6ecc88d9c Add some builtins 2019-09-26 15:11:40 +03:00
Richard Feldman
c90330cc4d Add some helpers 2019-09-26 15:11:40 +03:00
Richard Feldman
0696dad95c wip 2019-09-23 09:34:21 -04:00
Richard Feldman
60f63d5097 Restore def tests for test_infer 2019-09-21 23:29:13 -04:00
Richard Feldman
bc3350c29b Restore some more tests 2019-09-21 23:25:51 -04:00
Richard Feldman
354b4e8d53 Restore more canonicalization 2019-09-21 23:24:15 -04:00
Richard Feldman
e5ad5a6135 Restore canonicalizing Var 2019-09-21 23:17:17 -04:00
Richard Feldman
5c1e08a699 Restore canonicalizing closures 2019-09-21 23:09:11 -04:00
Richard Feldman
02e8c4ffbc Parse underscore patterns 2019-09-21 22:24:20 -04:00
Richard Feldman
9bf0d9477a Add failing test to parse underscores 2019-09-21 22:24:07 -04:00
Richard Feldman
b4b72179d6 Add test for 2-arg closure 2019-09-21 22:23:58 -04:00
Richard Feldman
2a80702a21 Parse closures 2019-09-21 20:31:24 -04:00
Richard Feldman
5d6057bfc3 Simplify a comment 2019-09-20 02:28:44 -04:00
Richard Feldman
752f7785b1 Shrink debug build times via BoxedParser 2019-09-20 02:27:04 -04:00
Richard Feldman
867ade4f46 Support record punning, e.g. { foo } 2019-09-20 01:19:49 -04:00
Richard Feldman
97e0434896 Parse record destructuring 2019-09-20 01:13:10 -04:00
Richard Feldman
2c61817c7c Parse closures 2019-09-20 00:26:49 -04:00
Richard Feldman
8fe4c749a2 is_lowercase implies is_alphabetic I think 2019-09-20 00:11:33 -04:00
Richard Feldman
3244330a5d Drop variant_or_ident 2019-09-20 00:11:15 -04:00
Richard Feldman
e5fcf70b87 Make variant_or_ident 2019-09-20 00:10:16 -04:00
Richard Feldman
9ed55714c9 Make Spaceable trait to prepare for patterns 2019-09-19 23:53:56 -04:00
Richard Feldman
26eb76f785 Parse parenthetical expressions 2019-09-19 23:04:50 -04:00
Richard Feldman
122ab7c761 Add some failing paren tests 2019-09-19 00:15:21 -04:00
Richard Feldman
3a44b17bd9 Add sep_by0 and sep_by1 2019-09-19 00:15:21 -04:00
Richard Feldman
ea12e3e42f Add test for applying 2 args 2019-09-18 23:39:52 -04:00
Richard Feldman
be350020bd Rename parts to module_parts 2019-09-18 19:25:56 -04:00
Richard Feldman
8111cb0588 Add some field access tests 2019-09-18 19:25:20 -04:00
Richard Feldman
0cb5877c06 Add tests for qualified var/variant 2019-09-18 19:17:00 -04:00
Richard Feldman
f0b3970b54 Reorder Located::new args 2019-09-18 19:14:58 -04:00
Richard Feldman
4cb441fde3 Add test for comment after operator 2019-09-18 19:11:39 -04:00
Richard Feldman
977521ad10 Fix comments-in-operators bug 2019-09-18 19:03:00 -04:00
Richard Feldman
2912991353 Reproduce comments-in-operators bug 2019-09-18 19:02:51 -04:00
Richard Feldman
74c0215d2d Add the / operator 2019-09-18 19:02:42 -04:00
Richard Feldman
9c520d3785 Refactor some parsing code 2019-09-18 19:02:26 -04:00
Richard Feldman
1df7a51144 Regression tests for newlines-around-operators bug 2019-09-18 19:01:35 -04:00
Richard Feldman
e40fbc73f6 Update some comments 2019-09-18 19:00:20 -04:00
Richard Feldman
08f9eb883d rustfmt cli/ 2019-09-18 19:00:01 -04:00
Richard Feldman
b0338d06dc Fix bug where newline() didn't consume. 2019-09-18 18:59:46 -04:00
Richard Feldman
9f5a359051 Remove extra Loc from AST in SpaceBefore/After 2019-09-18 05:00:48 -04:00
Richard Feldman
4a196915b0 Fix function application parsing 2019-09-18 04:52:13 -04:00
Richard Feldman
1054c3318b Extract parse_expr_body_without_operators 2019-09-18 03:01:12 -04:00
Richard Feldman
4ac9a51e1e Fix LineTooLong propagation, add failing op tests 2019-09-18 02:57:16 -04:00
Richard Feldman
df305e4cc8 Initial pass at parsing spaces/comments 2019-09-18 00:56:59 -04:00
Richard Feldman
4713087bb2 wip add more stuff 2019-09-17 20:06:57 -04:00