Commit graph

14474 commits

Author SHA1 Message Date
Richard Feldman
391091ca7f Fix some test inference stuff 2019-10-17 00:03:00 -04:00
Richard Feldman
f74f0f6ab7 Get tests compiling again 2019-10-16 23:38:12 -04:00
Richard Feldman
ae301f3c86 Start merging constraint gen into canonicalization 2019-10-16 19:23:34 -04:00
Richard Feldman
4704799df5 Fixed type mismatches 2019-10-16 19:23:34 -04:00
Richard Feldman
422f8cc37a wip 2019-10-16 19:23:34 -04:00
Richard Feldman
59bdb21ea2 First pass at parsing case. 2019-10-14 19:43:03 -04:00
Richard Feldman
ebaed27193 Parse if and args w/ idents, format w/ parens 2019-10-04 11:50:19 +03:00
Richard Feldman
2ced7ee5d8 flesh out operators 2019-10-04 11:15:04 +03:00
Richard Feldman
f3456325fa Redo AST for if and case 2019-10-04 09:31:36 +03:00
Richard Feldman
2c83bb0685 Add TypeAnnotation enum 2019-10-04 09:17:59 +03:00
Richard Feldman
899ecdcaf6 Drop superfluous comments 2019-10-03 21:57:27 +03:00
Richard Feldman
ff48718305 Finish expr_to_pattern 2019-10-03 21:52:45 +03:00
Richard Feldman
05ca48449a Add hex/octal/binary patterns 2019-10-03 21:52:29 +03:00
Richard Feldman
f4f83d70ee Fix parenthetical defs 2019-10-03 21:00:38 +03:00
Richard Feldman
9a564df7bb Collapse multiple blank lines in formatter 2019-10-03 17:02:28 +03:00
Richard Feldman
dda949ee54 Add test for formatting multi-arg closure 2019-10-03 10:29:14 +03:00
Richard Feldman
f9884129b9 Format Apply and Closure variants 2019-10-03 10:27:05 +03:00
Richard Feldman
6568336f54 Reproduce parenthetical def bug 2019-10-02 21:06:41 +03:00
Richard Feldman
c61b11e88f Drop unnecessary comments 2019-10-02 21:06:34 +03:00
Richard Feldman
2c6975e908 Fix parenthetical expr ordering 2019-10-02 21:06:19 +03:00
Richard Feldman
4d7b40d430 Support variant patterns 2019-10-02 21:06:12 +03:00
Richard Feldman
d7a7ba790d Parse parenthetical defs 2019-10-02 17:19:47 +03:00
Richard Feldman
8c9041685c Fix even more indentation checking 2019-10-02 15:20:41 +03:00
Richard Feldman
4bcdf062e5 Restore some more inference tests 2019-10-01 21:12:09 +03:00
Richard Feldman
4dddea0bb1 Fix indentation checking some more 2019-10-01 21:07:19 +03:00
Richard Feldman
adb5ba7f5e Inline remaining missing canonicalization branches 2019-10-01 12:32:04 +03:00
Richard Feldman
7df31739a7 Canonicalize SpaceBefore and SpaceAfter 2019-10-01 12:31:52 +03:00
Richard Feldman
df2085668c Restore canonicalization of defs 2019-10-01 12:06:54 +03:00
Richard Feldman
bc6ce3ee62 Add a test for integer division type inference. 2019-10-01 11:41:16 +03:00
Richard Feldman
a3d89c4728 Add a comment about stlib strategy. 2019-10-01 11:39:50 +03:00
Richard Feldman
0218eaa1fd Add type for DoubleSlash 2019-10-01 11:35:58 +03:00
Richard Feldman
4f893ea69f Refactor nested_def 2019-10-01 11:17:12 +03:00
Richard Feldman
f96d3c7a02 Fix record descruturing in defs 2019-10-01 00:04:18 +03:00
Richard Feldman
44a4a55c37 Add another test for formatting defs 2019-09-30 19:03:28 +03:00
Richard Feldman
ea9e0f2fb3 Support formatting defs 2019-09-30 19:02:57 +03:00
Richard Feldman
fe501587f4 Parse strings in Int and Float patterns 2019-09-30 19:02:32 +03:00
Richard Feldman
666d5c2355 Add failing test for formatting def 2019-09-30 19:02:09 +03:00
Richard Feldman
e948761b43 Fix 2-def bug 2019-09-30 16:55:02 +03:00
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