Folkert
390a50c537
use mainForHost generic in effect platform
2022-01-23 00:20:28 +01:00
Joshua Warner
8b58d5cbc7
Switch to always encoding package names / paths as strings
...
This will simplify parsing and make it possible to have a uniform lexer for the language. Previously unquoted package names were allowed to include '-'s, which aren't valid identifiers.
In the future, we'll distinguish local paths from packages in the package-manager by looking for a ".roc" suffix, which should only be present in local paths.
2021-12-23 20:11:14 -08:00
Joshua Warner
8b967f1ea8
Run formatter on all examples
2021-12-21 17:17:31 -08:00
Folkert
83de4b55ef
remove another instance of RocCallResult
2021-10-22 12:26:04 +02:00
Brendan Hansknecht
d710e78ab3
Merge branch 'trunk' into integrate-linker
2021-09-21 09:39:47 -07:00
Folkert
c5eeaab2c2
remove callresult from cli examples
2021-09-19 18:34:42 +02:00
Brendan Hansknecht
da28b669bb
Get zig host working
2021-09-15 11:45:44 -07:00
Folkert
a12e18ca70
add roc_panic to all hosts
2021-08-16 22:46:00 +02:00
Richard Feldman
db69ae1db1
Move model/msg Package-Config code to examples/tea
...
examples/effect has no need for this!
2021-07-19 22:23:39 -04:00
Folkert
b70ecf6351
make Effect simpler
2021-07-19 22:28:19 +02:00
Folkert
8eb0c6fbb8
fix example
2021-07-19 22:19:55 +02:00
Richard Feldman
0b3715ebee
Rearrange arg order for roc_alloc etc
2021-05-24 21:01:12 -04:00
Richard Feldman
18df7fd24f
Make alignment be a u32
2021-05-23 23:46:09 -04:00
Richard Feldman
bfd8187d97
Try to specify roc_alloc etc in example Rust hosts
...
...but they're all broken for other reasons, so who knows
if it actually worked?
2021-05-23 23:46:09 -04:00
Richard Feldman
7a408e44da
s/Pkg-Config/Package-Config/g
2021-05-22 15:29:18 -04:00
Richard Feldman
0a50b0b488
Change license to UPL-1.0
...
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Richard Feldman
792a18816a
Update authors in Cargo.toml
2021-04-11 08:11:52 -04:00
Folkert
02d6e276cf
update configs
2021-01-31 15:59:47 +01:00
Folkert
31bf658b20
add todo comment
2021-01-18 02:00:05 +01:00
Folkert
e15fbb70b8
use newer RocStr api
2021-01-14 23:48:45 +01:00
Folkert
29e726591f
make empty tag union compile
2020-12-27 01:01:18 +01:00
Folkert
7785f1b66a
fix effect example
2020-12-14 14:12:39 +01:00
Folkert
05a6b30644
fix import of top-level thunks
2020-12-12 17:57:42 +01:00
Folkert
f1b4d535c6
add other effect functions
2020-12-11 20:46:46 +01:00
Folkert
752a2200fd
partial procs that look the same can still be different
2020-12-11 16:39:53 +01:00
Folkert
f5c267acf4
fix problem with empty closures still considered closures
2020-12-10 23:58:53 +01:00
Folkert
84421ad06d
fix bug in closure argument unpacking
2020-12-10 20:45:59 +01:00
Folkert
1aba0534b1
use Task in the effect example
2020-12-10 14:01:56 +01:00
Folkert
f4d2263470
update examples/effect
2020-12-08 23:32:07 +01:00
Folkert
0b0ae7b287
make it work!
2020-12-08 00:15:57 +01:00
Folkert
7123269f30
successfully load package-qualified host
2020-12-07 23:24:06 +01:00
rvcas
4808611fc3
fix: don't hard code base
2020-12-02 21:53:15 -05:00