Commit graph

14474 commits

Author SHA1 Message Date
Richard Feldman
68ecfde127
Merge pull request #7 from rtfeldman/ci
Enable GitHub Actions CI
2019-11-15 02:30:25 +01:00
Richard Feldman
3a7401ecf6 Do what clippy says 2019-11-15 01:23:53 +00:00
Richard Feldman
45f20652d0 Disable clippy on CI for now 2019-11-15 01:20:07 +00:00
Richard Feldman
bf5b174953 Install LLVM for Clippy 2019-11-15 01:13:09 +00:00
Richard Feldman
276d91ee6c cargo fmt 2019-11-15 00:45:21 +00:00
Richard Feldman
f3a8045322 Fix Inkwell installation in ci.yml 2019-11-15 00:42:50 +00:00
Richard Feldman
0aff715bd7 See if cargo update fixes the Inkwell error 2019-11-15 00:36:56 +00:00
Richard Feldman
02892ad0c0 Run llvm install script as root 2019-11-14 23:58:10 +00:00
Richard Feldman
e27028b1be Rename rust.yml to ci.yml 2019-11-14 23:47:31 +00:00
Richard Feldman
fa882cc70e Update rust.yml 2019-11-14 23:47:11 +00:00
Richard Feldman
85547ac2a0 Move rust.yml to the correct directory 2019-11-14 23:23:36 +00:00
Richard Feldman
9946ff93bf
Create rust.yml 2019-11-15 00:21:59 +01:00
Richard Feldman
baa971ad06
Merge pull request #4 from rtfeldman/cache-ci
Add Cache to GitHub Actions
2019-11-15 00:20:22 +01:00
Folkert
4204d21ac0 Desugar pizza into Apply 2019-11-14 23:30:07 +01:00
Folkert
28d9ce9e86 add commented test for block string
block strings are not parsed, so the test triggers a panic for now.
2019-11-14 22:29:44 +01:00
Richard Feldman
25cf367505 Drop resolved comment 2019-11-14 22:13:17 +01:00
Folkert
ddf0139fdb Cannonicalize BlockStr
we decided that a block string can be a string (i.e. the lines are
joined with '\n').
2019-11-14 21:54:25 +01:00
Richard Feldman
e30a3628c0 Add Cache to GitHub Actions 2019-11-14 18:45:28 +01:00
Richard Feldman
0eb903bd84
Merge pull request #3 from rtfeldman/ci
Configure GitHub Actions
2019-11-14 18:43:53 +01:00
Richard Feldman
59252ac2ec Configure GitHub Actions 2019-11-14 18:42:47 +01:00
Folkert
1e0634ea20 add record newline formatting test 2019-11-14 13:49:40 +01:00
Folkert
dd95a86be1 make single-line cases work correctly 2019-11-14 13:26:27 +01:00
Folkert
3444f84cf8 forgot negation 2019-11-14 12:57:10 +01:00
Folkert
7cb34eff4c add is_multiline_field logic 2019-11-14 12:54:27 +01:00
Folkert
38462874dd Use idiomatic empty check for array 2019-11-14 12:34:06 +01:00
Richard Feldman
ce2e7c0bb9 Add comment about reconsidering block comments 2019-11-14 00:33:42 +01:00
Richard Feldman
066d8370d3 Fix is_multiline's understanding of a newline 2019-11-14 00:26:24 +01:00
Richard Feldman
fbb387f3a7 Use fmt::is_multiline in record formatting 2019-11-14 00:17:05 +01:00
Richard Feldman
f2f3919992 Update test_format to expected record output 2019-11-14 00:12:44 +01:00
Richard Feldman
d9583cce98 Add fmt module 2019-11-14 00:10:35 +01:00
Richard Feldman
ab4f354add Add always_with_list test 2019-11-13 23:03:25 +01:00
Richard Feldman
c4970235e2 Add a commented-out test to be uncommented later 2019-11-13 23:02:40 +01:00
Richard Feldman
a699a3ec1d Use write! more 2019-11-13 23:02:15 +01:00
Richard Feldman
d8051566e9 Clarify another comment 2019-11-13 23:02:06 +01:00
Richard Feldman
0b9db3b958 Drop obsolete comment 2019-11-13 23:01:29 +01:00
Richard Feldman
1f297b5560 Pacify warnings for now 2019-11-13 23:01:08 +01:00
Richard Feldman
3b95bfee17 Clarify a comment 2019-11-13 23:00:47 +01:00
Folkert
4fe125f405 Add formatting for records
currently, some tests are failing because

- i'm not sure what the "correct" formatting is
- and how to handle spaces (especially newlines)

Perhaps it's OK to ignore newlines for now, and just always start with
`{<space>` and close with `<space>}`?
2019-11-13 22:10:49 +01:00
Richard Feldman
dc95c848c3 Restore some inference tests 2019-11-09 03:32:23 -05:00
Richard Feldman
a09eb41a92 Add a type inference test for identity 2019-11-09 03:31:56 -05:00
Richard Feldman
3ed86acaf5 Add a second case code gen test 2019-11-09 03:31:42 -05:00
Richard Feldman
0a74db1169 Custom formatter for Type 2019-11-09 03:31:18 -05:00
Richard Feldman
46758e1209 Drop unused BinOp type 2019-11-09 03:31:06 -05:00
Richard Feldman
4611211d34 Solve Pattern constraints 2019-11-09 03:30:41 -05:00
Richard Feldman
cf1306c463 Fix binop parsing bug 2019-11-09 03:30:27 -05:00
Richard Feldman
5dd3d1ff54 Fix constraint gen for case 2019-11-09 03:29:58 -05:00
Richard Feldman
539a856073 Fix desugaring case branches 2019-11-09 03:28:54 -05:00
Richard Feldman
6764f5a096 Extract some canonicalization number helpers 2019-11-09 03:28:08 -05:00
Richard Feldman
2380c50282 Drop dead code 2019-11-08 22:50:52 -05:00
Richard Feldman
d2ef411bd7 Add some comments 2019-11-08 22:25:40 -05:00