Commit graph

528 commits

Author SHA1 Message Date
Anton-4
bd8e621091
fmt 2023-09-11 17:41:39 +02:00
Anton-4
38bd84d603
Merge branch 'main' of github.com:roc-lang/roc into remove-editor 2023-09-11 17:38:32 +02:00
Anton-4
99cfd1fe92
removed editor, ast, markup crate 2023-09-11 16:40:52 +02:00
Brian Carroll
8f59ee9492
Create a new crate roc_repl_ui for shared CLI/web UI code 2023-09-09 11:55:55 +01:00
Anton-4
8073264d7e
ignore inspec_logging on windows
the basic-cli build process does not yet include the necessary files for windows

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-08-18 13:19:03 +02:00
Anton-4
0646138509
added comments, tests 2023-08-16 19:17:47 +02:00
Anton-4
79ac0cab91
mark broken gui examples 2023-08-01 17:12:21 +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
Brendan Hansknecht
4f97ab2965
remove old compiler-rt workarounds for macos 2023-06-24 17:27:11 -07:00
Richard Feldman
c046d417e1
Go back to wasm32 2023-06-20 08:06:34 -04:00
Richard Feldman
aeca4b328e
Make a single source of truth for target strings 2023-06-20 07:48:56 -04:00
Richard Feldman
d5802c1cbe
Update docs and tests to use --target wasm-32 2023-06-20 07:48:09 -04:00
Richard Feldman
68984b59c9
Update roc build --target to add more triples 2023-06-19 23:51:47 -04:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
121d15a2a6
Merge pull request #5423 from roc-lang/dev-backend-linked-list
Dev backend linked list
2023-06-01 13:59:28 +00:00
Brendan Hansknecht
ccb434bae1
Update cli_run cli_args test
Note: this answer is less correct,
but that is because zigs sub answers are more correct.

Zig specifically gives a more accurate answer for Num.log 3.
old answer:     1.0986122886681098
zig's answer:   1.0986122886681096
correct answer: 1.098612288668109691395

Both answers are technically correct when limited to doubles.
Zig's answer is closer to truly correct.
That said, the more correct answer leads to a slight rounding error in the final division.
So the new output is 4.000000000000001 instead of 4.0
2023-05-31 22:15:05 -07:00
Folkert
8833096a07
clippy 2023-05-31 23:57:37 +02: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
051fca2f68
Share stripping of ignorable strings in has_error helper 2023-05-17 10:08:16 -04:00
David Smith
58cb8352bb
Consistent handling of ld chained fixup warning in cli/glue tests 2023-05-16 17:12:13 -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
Richard Feldman
039599da6a
Fix test 2023-05-09 20:20:21 -04: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
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig 2023-04-25 14:14:35 -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
Anton-4
49b4d9318d
fixed serial deadlock
Some tests used to require multiple locks and one test acquired lock A but failed to acquire lock B, another test was holding lock B and required lock A. That way you get stuck! I've turned those multiple locks into a bigger shared one, deadlock proof.
2023-04-11 12:11:04 +02:00
Brendan Hansknecht
8ed134607b
use indoc for formatting 2023-04-09 21:20:38 -07:00
Brendan Hansknecht
9a87675368
fix typo 2023-04-09 21:13:21 -07:00
Brendan Hansknecht
df9f5a946e
add test case for ingesting as bytes with type hole 2023-04-09 14:03:34 -07:00
Brendan Hansknecht
fdf8bc6094
fix formatting 2023-04-09 14:03:34 -07:00
Brendan Hansknecht
030597c59a
add example use with cli_run test 2023-04-09 14:03:34 -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