Commit graph

3217 commits

Author SHA1 Message Date
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
Richard Feldman
8937a5d872 Fix test_mono tests 2020-12-30 08:20:47 -05:00
Richard Feldman
e385f4404b
Merge pull request #842 from rtfeldman/mono-pattern-refactor
Mono pattern refactor
2020-12-29 23:43:24 -05:00
rvcas
127c4e1bcc feat: add inner var to IntLiteral and FloatLiteral 2020-12-29 20:52:54 -05:00
rvcas
d62471c73a fix: gen_list 2020-12-29 14:55:52 -05:00
rvcas
58b9908c2f feat(aliases): add Nat, Natural, and @Natural 2020-12-29 14:55:20 -05:00
rvcas
75fdff4398 feat(aliases): add Int a and Float a 2020-12-29 13:35:24 -05:00
Jared Ramirez
791a0e9404 Use precision in mono/ir to determine which number to generate 2020-12-29 09:33:55 -06:00
Chadtech
bd5259363c Remove render indices comment 2020-12-29 03:29:17 -05:00
Chadtech
c8c3944673 Dict and Hash zig modules 2020-12-29 03:27:01 -05:00
Folkert
5e25e28033 defer mono errors so we can test that non-exhaustive patterns throw a runtime exception 2020-12-29 03:51:46 +01: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
a7efffa542 comment out tests that are blocked on a mono issue (Issue 786) 2020-12-29 01:48:31 +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
Folkert
4cdde12823 add tests 2020-12-28 22:34:27 +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
Sébastien Besnier
70b3b77ac0 fixing tests compiling issues 2020-12-28 21:36:22 +01:00
Sébastien Besnier
4e9387cbda fix compile issues 2020-12-28 21:17:27 +01:00
Brendan Hansknecht
4d90ffb686 Fix typo 2020-12-28 11:39:47 -08:00
Sébastien Besnier
07d4f8dc15 make clippy happy 2020-12-28 19:54:17 +01:00
Sébastien Besnier
69c38e5bf7 add some commented tests -- it doesn't involve trialing commas too much... 2020-12-28 19:12:37 +01:00
Sébastien Besnier
965d151168 add tag union tests for trailing commas formatting 2020-12-28 18:57:45 +01:00
Sébastien Besnier
7692bd5671 add test... and fix missing final comments! 2020-12-28 18:41:48 +01:00
Sébastien Besnier
3d0a5aa89a format multline litera list with trailing comma 2020-12-28 18:37:41 +01:00
Sébastien Besnier
83aa5c1642 add final_comments to List's AST 2020-12-28 18:17:56 +01:00
Sébastien Besnier
04d0711251 multiline tests update for trailing comma
This reverts commit 4dbde30c4f6584871d3e8c54fd89b3ee27a82b72.
2020-12-28 17:54:44 +01:00
Sébastien Besnier
2f3d74e8bd fix empty record with only comments in it 2020-12-28 17:54:35 +01: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
Richard Feldman
16df2c8bcb
Merge pull request #829 from rtfeldman/functions-in-repl
Functions in repl
2020-12-26 23:38:53 -05:00
Folkert
29e726591f make empty tag union compile 2020-12-27 01:01:18 +01:00
Folkert
a760a41e1f repl: show error for partial application 2020-12-26 22:13:05 +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
099584f4ee SendMap -> MutMap in tests 2020-12-26 18:37:30 +01:00
Folkert
b5c7c26978 SendMap -> MutMap 2020-12-26 18:12:43 +01:00
Folkert
2ef7072247 change type of exposed_vars_to_symbol 2020-12-26 17:46:15 +01:00
Folkert
0099e3e9fd rely on the symbol -> var mapping from solving; don't extract var from the def itself 2020-12-26 17:39:16 +01:00