Commit graph

729 commits

Author SHA1 Message Date
Folkert
f8a8c26d2d clippy 2021-01-01 20:27:43 +01:00
Folkert
0ef70f55ea invoke in mono 2021-01-01 20:14:05 +01:00
Folkert
ca24f1cd38 fix llvm build 2021-01-01 16:28:35 +01:00
Folkert
0893aa7369 call changes in mono 2021-01-01 16:11:31 +01:00
Folkert
6bc0cf33a5 add unreachable instruction to the mono IR 2021-01-01 02:26:56 +01:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
Folkert
babd3a06a0 clippy 2021-01-01 00:18:57 +01:00
Folkert
bcf1c46afe be more specific about int/float precision 2020-12-31 22:46:29 +01:00
Folkert
5859568d92 remove Cond 2020-12-31 20:58:30 +01:00
Folkert
5ee29769a6 make cond helper and use it instead of constructing cond 2020-12-31 20:33:17 +01:00
Jared Ramirez
18d0141942 [WIP] Merge local changes with new branch 2020-12-31 13:08:50 -06:00
rvcas
b510d6e94d fix: float error in repl 2020-12-30 20:47:11 -05:00
rvcas
9dbcfb7a97 Merge branch 'temp_numbers' into int_a_float_a 2020-12-30 19:59:20 -05:00
rvcas
c33cab57f2 Merge branch 'int-float-size-gen' into temp_numbers 2020-12-30 19:41:44 -05:00
rvcas
97fc5f12a7 Merge branch 'trunk' into int_a_float_a 2020-12-30 15:19:31 -05:00
rvcas
127c4e1bcc feat: add inner var to IntLiteral and FloatLiteral 2020-12-29 20:52:54 -05:00
Jared Ramirez
791a0e9404 Use precision in mono/ir to determine which number to generate 2020-12-29 09:33:55 -06:00
Folkert
a5af8178a2 clippy 2020-12-29 02:37:16 +01:00
Folkert
8438b91633 move the symbol field into the Required tag 2020-12-29 02:16:21 +01:00
Folkert
b9f92851a4 remove optional fields destruct in mono pattern 2020-12-29 02:10:27 +01:00
Folkert
eb501f90a2 push optional field assignments into the branch 2020-12-29 01:49:15 +01:00
Folkert
edd23dc1d8 expose default assignments 2020-12-29 01:07:42 +01:00
Folkert
40b514a26d extract optional record field default assignments 2020-12-29 01:04:55 +01:00
Folkert
f8e04619b8 remove UnsupportedPattern variant in mono patterns 2020-12-29 00:48:56 +01:00
Folkert
fefb1f3739 error on non-exhaustive pattern in let 2020-12-28 23:22:54 +01:00
Jared Ramirez
48f964adf4 Add percision variable in fp/integer eq constraints 2020-12-28 16:22:34 -06:00
Folkert
794f8c4d41 remove Shadowed variant from mono pattern 2020-12-28 23:14:04 +01:00
Jared Ramirez
5e332cbad9 [WIP] F32 gen 2020-12-28 14:50:01 -06:00
Jared Ramirez
9b1769b3fb Add basic tests for number gen 2020-12-28 14:50:01 -06:00
Richard Feldman
b1bf03e7a0
Merge pull request #830 from rtfeldman/empty-tag-union
make empty tag union compile
2020-12-26 23:41:44 -05:00
Richard Feldman
7a53003313
Merge pull request #826 from rtfeldman/bughunt
Throw on overflow in Num.neg/Num.abs & fix mono bug
2020-12-26 23:41:11 -05:00
Folkert
29e726591f make empty tag union compile 2020-12-27 01:01:18 +01:00
Folkert
12c7b5435a generate more runtime errors 2020-12-26 21:30:25 +01:00
Folkert
95e0faad30 show type of lambda in the repl 2020-12-26 21:19:45 +01:00
Folkert
125146aac7 Merge remote-tracking branch 'origin/trunk' into bughunt 2020-12-26 00:51:22 +01:00
Folkert
2bcaf3921f fix #333: bug with symbol in if condition 2020-12-25 20:14:25 +01:00
Folkert
917ec9c44c make List.first/List.last work 2020-12-24 01:00:37 +01:00
Richard Feldman
a656778968 Merge remote-tracking branch 'origin/trunk' into overflow_on_mul 2020-12-23 15:37:55 -05:00
Celso Bonutti Filho
f3bd5368f0 feat: adds Num.mulWrap and Num.mulChecked 2020-12-23 13:42:18 -03:00
rvcas
eda5b72060 Merge branch 'trunk' into new_num_layer 2020-12-23 08:24:19 -05:00
Celso Bonutti Filho
fe588c120c adds Num.subChecked 2020-12-22 23:27:16 -03:00
Celso Bonutti Filho
176cdd0274 adds Num.subWrap 2020-12-22 22:17:45 -03:00
rvcas
d1ae3b47af fix: uniqueness for Num types 2020-12-21 11:15:05 -05:00
rvcas
c9308c0662 add new layer to the Num types 2020-12-21 09:56:11 -05:00
Celso Bonutti Filho
0a24f3b4b4 adds Num.bitwiseAnd 2020-12-20 19:55:10 -03:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Folkert de Vries
3d9b82e35e
Merge branch 'trunk' into more-tea 2020-12-14 02:30:04 +01:00
Folkert
6704208fc7 more imported function fixes 2020-12-14 02:08:40 +01:00
Folkert
99a95b7200 make sure the app and Pkg-Config have different names
otherwise there could be naming conflicts. for the mono tests, we must rename the app module to our tests continue to work
2020-12-14 01:57:42 +01:00
Folkert
879cbfabe4 fix bug with imported values 2020-12-14 01:11:28 +01:00