Commit graph

705 commits

Author SHA1 Message Date
Folkert
106a3646bf add category to Eq constraint 2020-04-01 20:09:10 +02:00
Folkert
14ad793bd7 hook up TypeError 2020-04-01 16:28:10 +02:00
Richard Feldman
63b38ae174 clippy the original clipper 2020-04-01 00:03:27 -04:00
Richard Feldman
dfa514c1fe Use no_std in the builtins bitcode source 2020-04-01 00:03:03 -04:00
Richard Feldman
67e68d57b4 cargo fmt 2020-03-31 23:56:31 -04:00
Richard Feldman
9aba6ff22e Add a note about using build_cast 2020-03-31 23:56:09 -04:00
Richard Feldman
d93429131e Remove extraneous bitcode.bc 2020-03-31 23:55:11 -04:00
Richard Feldman
cda6a21fa4 Implement Num.toFloat 2020-03-31 23:51:17 -04:00
Richard Feldman
37492f4aa6 Load builtins on startup 2020-03-31 23:50:55 -04:00
Richard Feldman
081de1b4bc Add builtins/bitcode/ 2020-03-31 23:48:48 -04:00
Folkert
6531845966 fix off-by-one error 2020-04-01 00:06:48 +02:00
Folkert
8e8f93955e cleanup 2020-03-31 23:54:14 +02:00
Folkert
48832ffa84 add error under/side lines 2020-03-31 23:49:26 +02:00
Folkert
2b4b63a8eb add caret underline for sinlg-line regions 2020-03-31 23:28:14 +02:00
Folkert
11c8e2bfaa improve Precedence error message 2020-03-31 23:11:35 +02:00
Richard Feldman
d213c7316b Fix missing report for precedence problem 2020-03-31 00:08:56 -04:00
Richard Feldman
33d5e528a6 Use Interns for module_id in reporting tests 2020-03-30 23:57:57 -04:00
Richard Feldman
84ec100208 Merge remote-tracking branch 'origin/trunk' into report-problems 2020-03-30 23:49:30 -04:00
Richard Feldman
574e346c8f
Merge branch 'trunk' into pattern-errors 2020-03-30 23:17:58 -04:00
Richard Feldman
1609c058f6 Fix tests 2020-03-30 22:31:20 -04:00
Richard Feldman
5f817d8019 Add a basic CLI 2020-03-30 21:27:37 -04:00
Richard Feldman
47f35dde01 First pass at test_emit 2020-03-30 21:27:02 -04:00
Richard Feldman
0a0a736153 Move pass managers into llvm::build 2020-03-30 21:27:02 -04:00
Folkert
db3ffc6dab make runtime errors for invalid patterns 2020-03-31 01:47:14 +02:00
Folkert
2586fde6af add test that triggers assert 2020-03-31 00:27:37 +02:00
Folkert
4947e2638c remove RuntimeError panics in canonicalization 2020-03-30 15:59:00 +02:00
Folkert
e05bad3c72 remove panic in constrain/src/pattern 2020-03-30 15:09:15 +02:00
Richard Feldman
503486f5bb Merge remote-tracking branch 'origin/trunk' into report-problems 2020-03-29 23:27:21 -04:00
Richard Feldman
4d950f2014 Inline ModuleId::name 2020-03-29 23:27:12 -04:00
Richard Feldman
555528c483 Add Interns::module_name and use it. 2020-03-29 23:27:12 -04:00
Folkert
da7498510b add another test 2020-03-30 02:14:41 +02:00
Chad Stearns
62c7a7c3e2 Small adjustments to reports 2020-03-29 18:42:35 -04:00
Chad Stearns
1d839863a1 Remove catch all for problem report 2020-03-29 18:25:41 -04:00
Chad Stearns
da4e97fd25 Many commented out report tests and report_problem_as helper 2020-03-29 18:04:22 -04:00
Folkert
a6f80471f9 add tests based on elm typechecker issues 2020-03-29 23:33:21 +02:00
Chad Stearns
221581432a Two non-functional problem reports 2020-03-29 14:28:06 -04:00
Chad Stearns
a00ed8a1ca Misc cleaning up 2020-03-29 14:27:21 -04:00
Chad Stearns
a19287f657 Module name report text variety 2020-03-29 14:26:41 -04:00
Chad Stearns
3f2579c4f3 Module name report text variety 2020-03-29 14:26:25 -04:00
Richard Feldman
d0b2d63511 Drop cranelift deps 2020-03-27 00:45:18 -04:00
Richard Feldman
ebb4963da7 Extract bounds check 2020-03-27 00:18:12 -04:00
Richard Feldman
ceb9cdd452 Revert "Attempt to bitcast structs"
This reverts commit a5b50730c33437f459da8705ee186f8f354c2454.
2020-03-27 00:18:12 -04:00
Richard Feldman
ab79e20956 Attempt to bitcast structs 2020-03-27 00:18:12 -04:00
Richard Feldman
e27359a812 Revert "Switch from i1 to i8 for bools"
This reverts commit 360d55483daa7eba53d66c7f14f9aec9db841986.
2020-03-27 00:18:12 -04:00
Richard Feldman
0217913dc7 Switch from i1 to i8 for bools 2020-03-27 00:18:12 -04:00
Richard Feldman
23eafd3a75 Reorganize gen tests 2020-03-27 00:18:12 -04:00
Richard Feldman
40be7a582d Extract eval test helpers 2020-03-27 00:18:12 -04:00
Richard Feldman
8bcc23a9c7 Add some record tests 2020-03-27 00:18:12 -04:00
Richard Feldman
76fd347801 Explicitly set calling convention 2020-03-27 00:18:12 -04:00
Richard Feldman
7bb2a4e3b8 Use usize for pointer size in tests 2020-03-26 23:07:42 -04:00