Commit graph

170 commits

Author SHA1 Message Date
Anton-4
bd8e621091
fmt 2023-09-11 17:41:39 +02:00
Anton-4
99cfd1fe92
removed editor, ast, markup crate 2023-09-11 16:40:52 +02:00
Folkert
8e9cf121ad
rust 1.71 clippy fixes 2023-07-25 10:46:46 +02:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Richard Feldman
1d5c5b25ec
Merge remote-tracking branch 'origin/main' into linux64 2023-07-11 11:33:31 -04:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Richard Feldman
aeca4b328e
Make a single source of truth for target strings 2023-06-20 07:48:56 -04:00
Richard Feldman
68984b59c9
Update roc build --target to add more triples 2023-06-19 23:51:47 -04:00
David Smith
b9981ece1e
Only suggest subcommands if not a .roc path 2023-05-27 11:25:55 -04:00
David Smith
3930d117f4
Switch comment style to docstring 2023-05-26 10:00:30 -04:00
David Smith
1abcfb1f94
Improve error message for subcommand typo to include command suggestion 2023-05-26 10:00:30 -04:00
David Smith
ed9953f564
Clippy 2023-05-26 10:00:30 -04:00
David Smith
7435a65d0f
Remove -- requirement for roc [FILE] to allow better messaging 2023-05-26 10:00:30 -04:00
David Smith
e1e72a3713
Updates after rebase 2023-05-15 12:31:42 -04:00
David Smith
d06d0dbf9c
Convert --prebuilt-platform to bool flag
With this change, it's no longer possible to cross-compile to any target
other than wasm.
2023-05-15 10:40:37 -04:00
David Smith
54c130ca1a
Address review comments
- Remove `num_args` call that wasn't supposed to be there
- Factor out shared value parser with non-trivial init
2023-05-15 10:40:37 -04:00
David Smith
003aacbf28
Remove unnecessary num_args for an optional single arg 2023-05-15 10:40:37 -04:00
David Smith
0f943c3e64
Code changes for clap 4 upgrade 2023-05-15 10:40:37 -04:00
Maldus512
9e40c69d1c
From Cow to Display 2023-05-14 22:59:55 +02:00
Maldus512
0389a662e2
Fixes issue #5394 2023-05-14 17:42:18 +02:00
Folkert
66be08d073
allow configure of whether roc_alloc is generated 2023-05-01 18:41:47 +02:00
Folkert
d13ca51095
add --dev flag to glue 2023-05-01 18:39:11 +02:00
Brendan Hansknecht
dd8914a75c
corret CodeGenBackend::Wasm to only be dev wasm backend 2023-04-26 07:29:32 -07:00
Brendan Hansknecht
031a16168a
fix matching for opt_level in build 2023-04-26 07:18:36 -07:00
Folkert
394495d307 Revert "update size asserts"
This reverts commit 9973d4b8d2.
2023-04-21 13:22:23 +02:00
Folkert
4cd8f0a056 clippy --fix fixes 2023-04-21 12:05:51 +02:00
Brendan Hansknecht
9a87675368
fix typo 2023-04-09 21:13:21 -07:00
Brendan Hansknecht
e5b88366fe
add proper error messages for ingested files 2023-04-09 14:03:33 -07:00
Brendan Hansknecht
8f4945f286
make file loading errors that happen late in compilation still fatal 2023-04-09 14:03:33 -07:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue 2023-03-29 19:43:59 +02:00
Brendan Hansknecht
2f6f5c09a0
remove old windows specific symbols. Now added by glue 2023-03-28 14:40:50 -07:00
Richard Feldman
977b7394f5
Reorder roc glue arguments and add a default 2023-03-24 22:17:54 -04:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue 2023-03-21 11:07:47 -07:00
Anton-4
4737a5c01e
fix clap error
339884894
2023-03-12 15:50:59 +01:00
Brendan Hansknecht
17ece67999
get roc glue working directly with .roc plugin files 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
abdc84d927
create conversion code from Types to the roc version of Types 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
2f9e1ad539
change glue api to enable writing multiple files 2023-03-05 12:33:41 -08:00
Brendan Hansknecht
7a944113a0
move build_file and related functions to roc_build
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
2023-03-04 10:00:43 -08:00
Folkert
b81aed852a
properly display valgrind problems 2022-12-30 14:30:09 +01:00
Folkert
32e3f01a28
refactor printing error counts 2022-12-30 14:30:08 +01:00
Folkert
1995d8b3df
refactor cli/src/build.rs 2022-12-29 16:50:20 +01:00
Folkert
e44bf59334
remove argument from load_and_monomorphize 2022-12-29 16:50:19 +01:00
Richard Feldman
15590fb31b
Generate docs basde on package root .roc file 2022-12-24 22:32:13 -05:00
Brian Carroll
09fee71084
cli: Convert run_wasm to work with roc_wasm_interp 2022-12-16 14:52:11 +00:00
Brian Carroll
fec64f0766
cli: remove wasmer dependency and rename run_with_wasmer->run_wasm 2022-12-16 14:52:10 +00:00
Folkert
3bae4145d9
do expect/dbg with atomics 2022-12-08 00:41:20 +01:00
Ayaz Hafiz
845a2f8c75
Report warnings in roc test 2022-12-02 14:11:58 -06:00
Ayaz Hafiz
0a4ec1958b
roc test stops if there are type errors 2022-12-02 14:11:57 -06:00
Richard Feldman
b9b03d432a
Merge remote-tracking branch 'origin/main' into https-packages 2022-11-24 13:14:36 -05:00
Ayaz Hafiz
9dbc2224fb
Fix imports 2022-11-24 10:05:25 -05:00