Commit Graph

268 Commits

Author SHA1 Message Date
Folkert
38566a2b9f
add example with arguments 2023-04-02 22:06:04 +02:00
Folkert
3ff17aa0ea
generate signature for the entry points 2023-04-02 20:47:28 +02:00
Folkert
4419e961c8
remove unneeded extern definitions 2023-03-30 21:36:30 +02:00
Folkert
d66ec6d34d
move RustGlue.roc closer to what we have on the ts branch 2023-03-30 21:20:45 +02:00
Folkert
99a3c08911
bake roc_alloc and friends into the dynamic library for glue 2023-03-29 19:43:59 +02:00
Brendan Hansknecht
f0a7ca8d29
use cfg to avoid pulling unix only data into windows builds 2023-03-28 14:15:53 -07:00
Richard Feldman
5cb2202f6b
Fix typo in comment 2023-03-25 13:28:54 -04:00
Richard Feldman
8f5d18a673
clippy 2023-03-25 13:07:22 -04:00
Richard Feldman
49058c8209
cargo fmt on glue 2023-03-25 11:41:43 -04:00
Richard Feldman
977b7394f5
Reorder roc glue arguments and add a default 2023-03-24 22:17:54 -04:00
Richard Feldman
0149e7231c
Temporarily disable some glue tests 2023-03-24 20:55:09 -04:00
Brendan Hansknecht
8d5f443fcd
Merge remote-tracking branch 'origin/main' into pluggable-glue 2023-03-21 11:07:47 -07:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-08 19:46:00 +01:00
Folkert
69b2e03a04
remove dict/set tests for now 2023-03-08 13:54:08 +01:00
Folkert
a0276f1a13
fix stack overflow in roc type traversal 2023-03-08 13:53:16 +01:00
Brendan Hansknecht
d41dd52b8d
revert glue fixtures Cargo.toml so it can be built standalone 2023-03-06 23:10:42 -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
Folkert
508f078d47
standardize derive order 2023-03-06 22:12:12 +01:00
Folkert
08f6774011
remove some todo!s 2023-03-06 22:11:56 +01:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -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
Folkert
3455d315f3
deal with unions like Result a [] where a tag is elided 2023-03-06 21:43:17 +01:00
Brendan Hansknecht
21af20597e
remove unused dependencies 2023-03-06 12:09:00 -08:00
Folkert
53db40e2f4
dig into the lambda set to find more lambda sets 2023-03-06 20:23:48 +01:00
Brendan Hansknecht
5573ab2275
Merge branch 'glue-getters-rtfeldman' into pluggable-glue 2023-03-05 17:11:25 -08:00
Brendan Hansknecht
40cc5c24d1
fix some minor typos and get another test working 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
c710defa09
get glue cli tests running again 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
17ece67999
get roc glue working directly with .roc plugin files 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
b81ede5e2c
fix breakage due to roc changes 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
3f8396d75c
readd target to Types 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
aacf0649d7
add drop impl for nonrecursive tags 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
ab9dc98d7b
split recursive and nonrecursive tag union functions 2023-03-05 12:33:46 -08:00
Brendan Hansknecht
b81cb48e97
add base of tag union type 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
303a38f992
remove F128 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
400d2322e0
correct escaping 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
7a4b79aef1
add comment about removing Types 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
605e4e82b8
add multi element single tag structs 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
8b68dfd02f
add zero element single tag structs 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
e2eebcce8a
add todo functions for each tag union type 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
a3cf66f730
add enumeration generation 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
3a6cfc5c20
complete derive impl 2023-03-05 12:33:45 -08:00
Brendan Hansknecht
6f528b627c
run roc format 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
469182b53a
switch naming from of fields type to id 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
d750b8536b
add derive default 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
48ce687aa6
add derive copy and cleanup naming 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
fb657f101d
add file header 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
c0d31e3591
add struct generation 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
428eccf1a7
setup rust-glue to use dictionaries 2023-03-05 12:33:44 -08:00