Commit graph

962 commits

Author SHA1 Message Date
Anton-4
fe066e5567
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates 2023-03-13 19:46:05 +01:00
Anton-4
310321b8ab
lock on parser package 2023-03-13 19:41:33 +01:00
Anton-4
5acc2ea3a2
Merge pull request #5127 from roc-lang/editor-launch-fix
fix `Arg::allow_invalid_utf8` clap error
2023-03-13 11:42:34 +01:00
Anton-4
4737a5c01e
fix clap error
339884894
2023-03-12 15:50:59 +01:00
Brendan Hansknecht
cb191d3788
Split utils into error and command utils
Error utils pulls in snafu which requires procedural macros.
This means it can't start compiling until syn and macro related crates are compiled.
This deals compiling all crates that depend on commands like running zig for the bitcode.
The split enables those crates to run sooner.
2023-03-10 09:39:43 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Brendan Hansknecht
e7420d5b2c
update outdated deps that don't require code changes 2023-03-06 14:20:42 -08:00
Brendan Hansknecht
0ed262d318
add missed update to use workspace dep 2023-03-06 13:06:44 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package 2023-03-06 12:43:48 -08: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
dc77916bb5
Merge pull request #5088 from roc-lang/reorg-build
move build_file and related functions to roc_build
2023-03-05 12:18:35 +00: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
Anton-4
e5aa27d19b
add lock for breakout 2023-03-04 14:11:48 +01:00
Anton-4
f07c126133
lock zig platform building 2023-02-27 18:01:32 +01:00
Anton-4
54a1121bfa
windows: ignore hello test with url 2023-02-18 09:37:58 +01:00
Anton-4
cb599551de
update to basic-cli 0.2.1, fix typos 2023-02-15 19:55:30 +01:00
Anton-4
80885151b6
ignore breakout test on windows 2023-02-13 13:55:05 +01:00
Anton-4
951f01eee0
better name, extra test 2023-01-30 15:54:16 +01:00
Folkert
ee87eafdca
remove once_cell dependency 2023-01-28 14:26:24 +01:00
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-23 18:27:33 +01:00
Ayaz Hafiz
f6da8275ec
Record changed variables if any nested variable has changed
When we unify variables in mono, we must invalidate the sections of the
layout cache reached by those variables. Previously we did this by
recording changed variables as those that were `merge`d. However this is
not enough; we must also record all the parent types they came from. The
reason is we may have something like

```
Alias (Foo, a) ~ Alias (Bar, U8)
```

where we will merge `a = U8` but we do not merge the aliases.

Closes #4919
2023-01-21 12:37:21 -06:00
Anton-4
1f7e8d58a6
only run letter parser on ubu CI 2023-01-20 16:42:37 +01:00
Anton-4
8b14aec0f5
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-18 19:26:59 +01:00
Anton-4
c9a0664023
Merge remote-tracking branch 'upstream/main' into parser-package 2023-01-18 19:21:27 +01:00
Ayaz Hafiz
f58fb42d2b
Ignore gui test for now 2023-01-18 10:16:25 -06:00
Luke Boswell
d14d410153
added basic parsing example to ci 2023-01-18 13:49:38 +01:00
Luke Boswell
6790848be5
remove redundant zig platform, fix tests 2023-01-18 12:52:19 +01:00
Anton-4
88f218d24f
clippy fixes after merge 2023-01-17 18:24:38 +01:00
Anton-4
bbf35af8fa
Merge branch 'main' into rust1_65
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-17 18:14:30 +01:00
Anton-4
a97c53d7ca
1.65 changes and clippy fixes 2023-01-17 18:09:16 +01:00
Anton-4
309052c85a
re-enable args cli_run test 2023-01-17 14:45:17 +01:00
Folkert de Vries
d8b2ff07f8
Merge pull request #4802 from roc-lang/valgrind-unit-tests
Valgrind unit tests
2023-01-11 19:45:28 +01:00
Folkert de Vries
a659b6b560
Merge pull request #4858 from roc-lang/parse-http
Example parser for HTTP messages
2023-01-10 19:03:56 +01:00
Brian Carroll
0ee8de2bc8
parser/Http: add a cli test and a new method for library testing 2023-01-10 08:53:48 +00:00
Ayaz Hafiz
50826d1a83
Inline interners into the layout interner module
I realized that we'll need to make the layout interner more complicated
to support things like recursive pointers pointing to their parents and
to support lambda set layout caching. Since the layout interner is the
only user of intern crate right now anyway, just inline the whole thing.
2023-01-03 14:19:39 -06:00
Folkert
407fef0602
fix compilation on non-linux systems 2022-12-30 14:30:10 +01:00
Folkert
9500b0b97b
stop writing to files 2022-12-30 14:30:10 +01: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
1a2e1aecdb
fix wasm host compilation 2022-12-29 16:50:21 +01:00
Folkert
479caaf0a9
clean up path usage 2022-12-29 16:50:21 +01:00
Folkert
356875a851
simplify host extension 2022-12-29 16:50:20 +01:00
Folkert
1995d8b3df
refactor cli/src/build.rs 2022-12-29 16:50:20 +01:00
Folkert
a2c760aa56
keep conditional compilation local 2022-12-29 16:50:20 +01:00
Folkert
e44bf59334
remove argument from load_and_monomorphize 2022-12-29 16:50:19 +01:00
Folkert
92da3973e7
remove argument from load_and_typecheck 2022-12-29 16:50:19 +01:00