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
6786acb939
Remove redundant space in aliases
2021-12-21 18:16:58 -08:00
Joshua Warner
8b967f1ea8
Run formatter on all examples
2021-12-21 17:17:31 -08:00
Jan Van Bruggen
d03a51c75b
Rename base
package to pf
everywhere, to match tutorial
2021-12-12 05:57:39 -07: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
52d36cbe72
fix closure weirdness (skipping or infinite looping)
2021-09-13 22:50:48 +02:00
Richard Feldman
e00c8b6837
Update effects example to reproduce bug
2021-09-12 10:17:56 -04: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
1a3a730e23
move example files
2021-01-18 22:08:08 +01:00
Folkert
cb0c5ef751
make bitcast more descriptive
2021-01-18 22:06:14 +01:00
Folkert
31bf658b20
add todo comment
2021-01-18 02:00:05 +01:00
Folkert
c136bed955
add and test nqueens and cfold
2021-01-18 01:59:38 +01:00
Folkert
e15fbb70b8
use newer RocStr api
2021-01-14 23:48:45 +01:00
Folkert
c5d3aae878
add nqueens example
2021-01-14 23:46:50 +01:00
rvcas
27cfd4d7ad
more test fixes
2021-01-04 15:18:49 -05: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
539f173472
set correct closure tag_id
2020-12-11 20:25:15 +01:00
Folkert
752a2200fd
partial procs that look the same can still be different
2020-12-11 16:39:53 +01:00
Folkert
b669202d86
fix wildcards not recognized as rigids
2020-12-11 01:49:54 +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
a9b3c74f2e
don't drop empty records from layouts
2020-12-10 15:04:42 +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
Richard Feldman
149d10ea0b
Merge pull request #780 from rtfeldman/rvcas/rename_int
...
Rename Int to I64
2020-12-07 22:49:39 -05:00
rvcas
4987721154
feat(Num): rename Num.Int to Num.I64
2020-12-07 19:17:20 -05: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
7fabb04518
Merge branch 'trunk' into task_can
2020-12-06 13:51:29 -05:00
Pit Capitain
ba11f9b7b9
Adjust examples to current platform interface
2020-12-05 09:17:03 +01:00
rvcas
0c8260d71a
Merge branch 'trunk' into task_can
2020-12-04 20:03:27 -05:00
Folkert
4b0b5126a1
add Str.fromInt
2020-12-04 00:37:19 +01:00
rvcas
4808611fc3
fix: don't hard code base
2020-12-02 21:53:15 -05:00