Commit graph

486 commits

Author SHA1 Message Date
Folkert
a6e39e66f1 generate signature for foreign symbols 2020-11-06 23:46:31 +01:00
Folkert
7a8e9fe343 special hash and dedup for SolvedType 2020-11-06 23:12:47 +01:00
Folkert
7faab5d857 remove debug prints 2020-11-06 21:51:32 +01:00
Folkert
7e6724262d make after work 2020-11-06 21:48:54 +01:00
Folkert
3eb6c33ad8 ITS ALIVE!!! 2020-11-06 01:50:49 +01:00
Folkert
4c3f0a5002 get foreign call compiling (but not working) 2020-11-06 00:00:47 +01:00
Folkert
2f42463a97 do the IR stuff for foreign call 2020-11-05 23:50:01 +01:00
Folkert
eae797a47a introduce ForeignSymbol wrapper 2020-11-05 23:43:32 +01:00
Folkert
3cd132dd51 introduce foreign call 2020-11-05 23:35:56 +01:00
Folkert
3d0f2751f5 commit some crimes 2020-11-05 23:18:28 +01:00
Folkert
b70eb3c636 cleanup 2020-11-05 01:09:48 +01:00
Folkert
3fe0140c7e clip clip clip 2020-11-05 00:59:26 +01:00
Folkert
cb28e533b8 so close 2020-11-04 23:07:02 +01:00
Folkert
4c5a5dc6a2 thread things through 2020-11-04 21:03:43 +01:00
Folkert
2cf7a9fe42 fix tests 2020-11-03 20:13:38 +01:00
Folkert
212f8b4d50 change test runners to use new error reporting stuff 2020-11-03 19:36:02 +01:00
Folkert
1a36733c04 fix clippy issues 2020-11-02 23:44:59 +01:00
Folkert
ded8499f3a Merge branch 'multi-dep-bugs' of github.com:rtfeldman/roc into multi-dep-bugs 2020-11-02 23:25:40 +01:00
Folkert
a565ca79b8 builtins are not technically imported 2020-11-02 23:19:31 +01:00
Folkert
c933888690 differentiate between 0-arity thunks and function pointers 2020-11-02 22:50:12 +01:00
Folkert
89e01c63d1 make Num.maxInt and Num.minInt work 2020-11-02 21:49:44 +01:00
Folkert
0775f45217 thread variable through with_hole 2020-11-02 21:13:25 +01:00
Folkert
baf2d1a5bb thread variable through from_can 2020-11-02 20:34:26 +01:00
Folkert
841d696e6d cleanup 2020-11-02 20:28:12 +01:00
Folkert
497adb2ec4 always specialize imported symbols 2020-11-02 16:29:36 +01:00
Folkert
cb0bfa3eb7 Merge remote-tracking branch 'origin/trunk' into multi-dep-bugs 2020-11-02 15:52:44 +01:00
Richard Feldman
c61f838a2a
Merge branch 'trunk' into multi-dep-bugs 2020-11-01 16:59:13 -05:00
Pit Capitain
003d365ee0 Fix multi-dep thunk bugs 2020-11-01 21:29:12 +01:00
lrosa007
bd696e1f6f feat(builtins): Num.asin : Float -> Float 2020-11-01 09:54:00 -05:00
lrosa007
4da2d7f101 feat(builtins): Num.acos : Float -> Float 2020-11-01 09:27:42 -05:00
Richard Feldman
491ae7a775 Drop unnecessary pub 2020-10-31 21:28:02 -04:00
Folkert
09ad286123 remove unused function 2020-10-31 15:29:36 +01:00
Folkert
8b3b677439 remove aliases from Let and LetCon 2020-10-31 15:27:24 +01:00
Folkert
9e981c264e fix clippy issues 2020-10-30 22:28:55 +01:00
Folkert
5017a456be for now, allow work to be done twice
the scheduler can request that the same file is parsed/canonicalized/etc twice
we need to find a good solution so that no work is repeated
2020-10-30 21:57:54 +01:00
Folkert
58467d6515 get tests back up an running 2020-10-30 16:58:53 +01:00
Folkert
a0c8915678 Merge remote-tracking branch 'origin/trunk' into fix-alias-inference 2020-10-29 14:40:55 +01:00
Richard Feldman
b1d2e87401 Use assert_eq over assert 2020-10-28 20:33:42 -04:00
Folkert
ef1cee6c41 HUGE WIP 2020-10-28 01:13:04 +01:00
Folkert
5fbcfe18d3 new recvar design 2020-10-26 16:16:01 +01:00
Richard Feldman
5a2ba77406 Drop redundant #[test] annotation 2020-10-25 21:45:34 -04:00
Richard Feldman
793a1462e9 Run more assertions in test_mono 2020-10-25 21:45:34 -04:00
Folkert
7d2cc3aac2 WIP 2020-10-25 22:16:27 +01:00
Folkert
646f04ef7b give more context in runtime errors 2020-10-25 22:06:27 +01:00
Folkert
2c0416907c fix todo 2020-10-24 01:19:22 +02:00
Folkert
4db09b10aa refactor ClosureLayout 2020-10-21 13:38:46 +02:00
Folkert
22dcdab222 use wrapping from closure layout to index into closure data 2020-10-21 13:31:32 +02:00
Folkert
c8c1a0678a code gen for variably-sized closures 2020-10-21 13:01:27 +02:00
Folkert
1953f563f7 add mono tests 2020-10-21 12:38:11 +02:00
Folkert
b0121097c9 store closures in data structures 2020-10-20 20:01:01 +02:00