Commit graph

667 commits

Author SHA1 Message Date
Richard Feldman
eacc65e07f
Revise message for trying to run non-app modules 2022-07-20 16:58:52 -04:00
Brian Carroll
00d96d5a8b
Merge branch 'trunk' of github.com:rtfeldman/roc into http-sync 2022-07-18 21:02:32 +01:00
Ayaz Hafiz
72c6cf7801
Import Encode in all modules 2022-07-18 12:17:06 -04:00
Brian Carroll
8cf7752514
Improve a debug assert message (triggered by unnecessary import of Box) 2022-07-17 22:00:20 +01:00
Richard Feldman
f575807834
Merge remote-tracking branch 'origin/trunk' into outdent-infix 2022-07-16 16:08:36 -04:00
Ayaz Hafiz
c98ba441cf
Properly handle immediate derivations 2022-07-15 10:38:11 -04:00
Ayaz Hafiz
e91247a64d
Store ability member lambda sets in storage subs 2022-07-15 10:38:11 -04:00
Folkert
b9ebd4fa27 Merge remote-tracking branch 'origin/trunk' into pretty-expect-output 2022-07-15 09:12:04 +02:00
Folkert
b6224a3806
ugly hack to make the docs build 2022-07-14 22:15:19 +02:00
Folkert de Vries
1b1b63aad0
Merge branch 'trunk' into assoc-list-dict 2022-07-14 16:47:50 +02:00
Ayaz
a9243720da
Merge pull request #3496 from rtfeldman/derive-w-mono
Monomorphize and compile derived implementations
2022-07-14 07:45:21 -05:00
Folkert
488a4ca730
update test 2022-07-14 08:54:42 +02:00
Richard Feldman
7908e8c176
roc format examples 2022-07-13 23:16:09 -04:00
Folkert
06938429a1
Merge branch 'assoc-list-dict' into pretty-expect-output 2022-07-14 00:39:01 +02:00
Richard Feldman
b734986fc8
Use config_shorthand of "" but never a shorthand of ""
This was breaking bindgen's ability to work on some platform modules.
2022-07-13 17:03:32 -04:00
Folkert
ed27e0ea62
Dict and Set are always in scope 2022-07-13 19:36:53 +02:00
Richard Feldman
af39bc5369
Revert "Don't invent shorthands"
This reverts commit 8b6d55df01.
2022-07-13 13:24:48 -04:00
Folkert
8c77899d8f
fix missing field 2022-07-13 18:51:26 +02:00
Richard Feldman
bf63c45b46
Compute src_dir from original filename
This fixed a bug where bindgen was providing cwd() for src_dir,
but actually the src_dir should have been based on the filename.
This prevents that problem from happening in the future!
2022-07-13 12:49:06 -04:00
Richard Feldman
8b6d55df01
Don't invent shorthands 2022-07-13 12:42:43 -04:00
Folkert
fe7882b598
implement expect collector 2022-07-13 16:23:39 +02:00
Folkert
6190fc9f67
trying to gather expects 2022-07-13 15:47:25 +02:00
Folkert
9d0e3e42d3
bring expectation info to the running code 2022-07-13 15:32:02 +02:00
Ayaz Hafiz
b782f013bd
Fix derive tests 2022-07-13 08:47:39 -04:00
Ayaz Hafiz
df9bcb1a0c
Use Derived_synth for synthesizing implementations, and Derived_gen for codegen 2022-07-13 08:47:39 -04:00
Ayaz Hafiz
63adb901b4
A couple hacks to get deriving of records working.. but it's working? 2022-07-13 08:47:38 -04:00
Ayaz Hafiz
dd93b5bd51
Update mono tests 2022-07-13 08:47:38 -04:00
Ayaz Hafiz
9a01117536
Fix compile errors 2022-07-13 08:47:37 -04:00
Ayaz Hafiz
9826253785
Deriving string encoders works 2022-07-13 08:47:37 -04:00
Ayaz Hafiz
445d922f3b
Compact lambda sets with structural derived ability impls 2022-07-13 08:47:37 -04:00
Ayaz Hafiz
d8bee6cd18
Perfom derives from global derives module, not just symbol table 2022-07-13 08:47:36 -04:00
Ayaz Hafiz
61db0b6260
Move derivers to their own crate 2022-07-13 08:47:36 -04:00
Ayaz Hafiz
fd9dcd8551
Have derivers rely only on exposed module types 2022-07-13 08:47:35 -04:00
Ayaz Hafiz
b377155acd
Get rid of ExposedByModule::remove for now 2022-07-13 08:47:35 -04:00
Ayaz Hafiz
e8fb186d79
Load derived member impls into derived module for mono 2022-07-13 08:47:34 -04:00
Ayaz Hafiz
a8006d225e
Include derives module in dependencies status 2022-07-13 08:47:34 -04:00
Ayaz Hafiz
da6eda03b2
Make specializations for derives after all other modules are specialized 2022-07-13 08:47:33 -04:00
Folkert
68c51782e6
skeleton for running pretty expects 2022-07-13 14:32:47 +02:00
Folkert
bba8d40813
clippy 2022-07-13 12:04:22 +02:00
Folkert
79f8ae4e69
make Set/Dict mostly work 2022-07-13 11:15:57 +02:00
Folkert
f9d8e01561
implement Dict/Set completely in roc 2022-07-13 00:35:20 +02:00
Richard Feldman
c61795197f
Merge pull request #3478 from rtfeldman/toplevel-expect-captures
toplevel expect captures
2022-07-12 08:58:19 -04:00
ayazhafiz
699c4d7fff
Move Solved to roc_solve 2022-07-10 19:42:41 -04:00
Folkert de Vries
f1aae6f480
Merge pull request #3476 from rtfeldman/i3469
Remove more builtins code
2022-07-10 23:06:50 +02:00
Ayaz Hafiz
5e3ccc30cb
Inject List.len into Num, and properly import List in Str 2022-07-10 16:03:30 -04:00
Folkert
830dd03b30
add comment 2022-07-10 20:48:57 +02:00
Folkert
67cbe6a590
pipe a list of expects to llvm codegen 2022-07-10 20:04:08 +02:00
Folkert
5df489ba23
turn toplevel expects into inline expects 2022-07-10 19:17:51 +02:00
Ayaz Hafiz
7ce1dc53e0
Update load tests 2022-07-10 12:15:41 -04:00
Ayaz Hafiz
98287e7670
Remove imported_builtins from load 2022-07-10 10:41:06 -04:00