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
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
Richard Feldman
194e74ec38
Fix typo
2023-03-24 20:53:22 -04:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue
2023-03-21 11:07:47 -07:00
Richard Feldman
2276c78d9f
Merge pull request #5093 from roc-lang/glue-getters-rtfeldman
...
Glue for functions and closures
2023-03-21 08:12:19 -04:00
Anton-4
6e0dc30797
fixes, build tar.br now
2023-03-20 16:32:54 +01:00
Anton-4
3eda00cb62
Merge pull request #5144 from lukewilliamboswell/static-site
...
Add code file import feature for `static-site-gen` platform
2023-03-20 11:16:57 +01:00
Folkert de Vries
bd3982241e
Merge pull request #5036 from roc-lang/tutorial_updates
...
tutorial: update to basic-cli 0.2.1, fix typos
2023-03-17 11:46:36 +01:00
Brendan Hansknecht
ba804cc382
clippy
2023-03-16 12:25:52 -07:00
Brendan Hansknecht
5cb41cb81d
switch false test case to one that will repro the bug and enable valgrind for it
2023-03-16 12:12:28 -07:00
Luke Boswell
bea3a4f2f7
add static code file import for site gen
2023-03-15 20:59:58 +11:00
Anton-4
1f92508c55
clippy
2023-03-14 19:17:36 +01:00
Anton-4
0605639fa8
fix editor test
2023-03-14 18:24:30 +01:00
Anton-4
16f32c9409
don't build editor for CLI by default
2023-03-14 16:36:03 +01:00
Brendan Hansknecht
e32c5f6514
standardize on decref instead of deinit for name
2023-03-13 14:08:23 -07:00
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