Commit Graph

407 Commits

Author SHA1 Message Date
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
Brendan Hansknecht
155b53df8d
cleanup and correct types 2023-03-05 12:33:44 -08:00
Brendan Hansknecht
e6abd24945
add #[used] static variables to ensure that rust emits the roc_* functions 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
f18a806bda
wire everything up 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
e45c17f81d
remove unneeded explicit platform for glue 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
0ec14f33f5
first signs of life for glue with roc files 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
b97a87a7a7
load dylib directly as spec for now 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
f9f77a5a54
create a proper platform for roc glue 2023-03-05 12:33:43 -08:00
Brendan Hansknecht
b792071971
add dummy glue implementation in roc 2023-03-05 12:33:43 -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
8d8150e748
switch to associated lists since roc_std::roc_dict has not been updated yet 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
f956be26c1
update roc types for glue 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
09a3b2425f
update glue cli tests to generate directories 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
69bd296099
switch tests to use list of files 2023-03-05 12:33:42 -08:00
Brendan Hansknecht
2f9e1ad539
change glue api to enable writing multiple files 2023-03-05 12:33:41 -08:00
Folkert
853c0387dc
cleanup 2023-03-05 17:33:48 +01:00
Folkert
180187e5af
get old examples to work 2023-03-01 21:56:14 +01:00
Folkert
fa05c49693
correct the name of the size() exposed function 2023-02-26 14:23:10 +01:00
Folkert
fee5e978f7
use roc_alloc to store unsized types 2023-02-25 16:45:58 +01:00
Folkert
f232bdda4f
fix some glue formatting 2023-02-25 16:32:10 +01:00
Folkert
1bf2cc3b8c
cleanup 2023-02-25 16:23:40 +01:00
Folkert
35980e50b8
fix function getters 2023-02-25 15:47:20 +01:00
Folkert
033618f3f4
fixes to get rocLovesRust to work 2023-02-22 21:17:50 +01:00
Folkert
b6bae82913
hello world works 2023-02-14 22:11:23 +01:00
Folkert
6c15284a8f
more wip; now we just need to generate the exposed procs at the right time 2023-02-08 22:56:38 +01:00
Ayaz
ad84e02abf
Merge pull request #4950 from roc-lang/keep-recptr-index
Initial support for linking recursive pointer layouts back to their source layouts
2023-01-24 14:42:00 -06:00
Ayaz
a7c415dc35
Merge pull request #4940 from joshuawarner32/tuple-solve
Initial implementation of tuples in type checking
2023-01-23 16:25:35 -06:00
Ayaz Hafiz
8750127111
Begin support for looping-back recursive pointers to their source layouts 2023-01-23 14:37:48 -06:00
Joshua Warner
de828416bf
Initial implementation of tuples in type checking
This leaves in place a bunch of TODOs and likely many bugs - notably, I haven't tested codegen/layout at all here.
2023-01-22 12:40:44 -08:00
Folkert
1ba4d9d735
WIP 2023-01-22 11:53:02 +01:00
dependabot[bot]
8801c147cb
Bump bumpalo from 3.11.0 to 3.11.1
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.11.1)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 15:06:17 +00:00
Folkert
c622cebea6
correct codegen for calling the extern 2023-01-20 15:07:49 +01:00
Folkert
1ac2c2bb80
add Unsized RocType variant 2023-01-18 23:38:25 +01:00
Folkert
01b6d234ff
WIP 2023-01-18 23:18:09 +01:00
Folkert
bb44063419
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-01-18 20:06:26 +01:00
Ayaz Hafiz
3d0a0a4a99
Update more dict/set references 2023-01-14 15:33:54 +01:00
Folkert
ee99ae2372
WIP 2023-01-13 20:42:23 +01:00
Folkert
b412765972
push extern name down 2023-01-12 19:02:52 +01:00
Folkert
6ead631c82
generate the RocFunction struct 2023-01-11 23:05:32 +01:00
Ayaz Hafiz
1960f429bd
Cleanup of lints 2023-01-11 14:39:12 -06:00
Ayaz Hafiz
55b8aaebda
Update roc glue 2023-01-11 14:39:11 -06:00
Ayaz Hafiz
e14a0abb99
Store target info on layout interners 2023-01-11 14:32:16 -06:00
Ayaz Hafiz
ce717dca8b
Do not require allocating Layouts in arena before interning
This should reduce memory spend, the interner has its own effective
arena anyway
2023-01-10 09:47:13 -06:00
Folkert
98ba49baf6
WIP 2023-01-08 14:49:13 +01:00
Folkert
1c1112ec35
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-01-04 20:45:01 +01: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
Ayaz Hafiz
b60d5c0251
Push wrapped layout interners through 2023-01-03 10:51:33 -06:00
Ayaz Hafiz
947158b17e
Stub out layout interners into own module 2023-01-03 10:07:12 -06:00
Ayaz
ea53a50447
Merge pull request #4836 from roc-lang/intern-layouts-2
Intern list element layouts and thread mut layout interner through LLVM backend
2022-12-29 18:41:35 -06:00
Ayaz
7076c889a5
Merge pull request #4828 from roc-lang/refactor-build
Refactor build
2022-12-29 18:41:22 -06:00
Folkert
92da3973e7
remove argument from load_and_typecheck 2022-12-29 16:50:19 +01:00
Ayaz Hafiz
e4b5252e51
List takes interned element 2022-12-29 08:52:37 -06:00
Ayaz Hafiz
7ab7fdfa7b
Push interned layouts as mut throughout the backend, and intern box layouts 2022-12-28 18:51:26 -06:00
Folkert
d287eafa3a
remove F128 2022-12-14 23:28:38 +01:00
Brendan Hansknecht
759130952d
fix glue generation for Dict and Set 2022-12-07 20:53:50 -08:00
Brendan Hansknecht
436bfc41ed
disable glue test and update mono test 2022-12-03 13:17:36 -08:00
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME 2022-11-20 20:54:03 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere 2022-11-20 19:53:48 -05:00
Richard Feldman
36178b5f59
REVERT ME - add some debug info 2022-11-16 17:07:04 -05:00
Richard Feldman
58e672749c
Fix glue getter name synchronization 2022-11-16 17:06:21 -05:00
Richard Feldman
4ba59077b9
Return glue getters via pointer 2022-11-16 14:30:06 -05:00
Richard Feldman
53ab17d0e9
contains_functions -> has_varying_stack_size 2022-11-16 13:55:06 -05:00
Richard Feldman
781c151f17
Fix some more glue for getters 2022-11-16 13:26:45 -05:00
Richard Feldman
59e29bbb91
Allow unused variables in glue header 2022-11-16 13:26:09 -05:00
Richard Feldman
9b04480fdc
Make naming more consistent 2022-11-16 11:22:12 -05:00
Richard Feldman
b3f9ff562d
Silence some warnings 2022-11-16 10:51:57 -05:00
Richard Feldman
42f2d0941d
Fix some exhaustiveness errors with todo! for now 2022-11-16 10:38:27 -05:00
Richard Feldman
a9b116cbeb
Fix some exhaustivness errors in glue 2022-11-16 09:42:56 -05:00
Richard Feldman
8fc635efc3
Fix some glue borrow checker errors 2022-11-16 09:37:54 -05:00
Richard Feldman
2db6856dbf
Fix remaining glue type mismatches name: _, 2022-11-15 21:18:11 -05:00
Richard Feldman
66644f26a5
Use RocStructFields correctly in more places 2022-11-15 21:00:17 -05:00
Richard Feldman
5d062f901c
Fix a bunch of type mismatches 2022-11-15 20:48:11 -05:00
Richard Feldman
955ed673e3
Drop variant_size idea 2022-11-15 20:18:55 -05:00
Richard Feldman
f4c9d245b7
Revise Rust glue derive logic 2022-11-15 20:18:43 -05:00
Richard Feldman
6d54ec0ab8
Remove RocTags from glue 2022-11-15 20:09:25 -05:00
Richard Feldman
2de1b3f51d
Don't always derive PartialEq in glue 2022-11-15 20:09:01 -05:00
Richard Feldman
e5f4e08fec
wip 2022-11-15 16:41:51 -05:00
Richard Feldman
2122bcb563
Restore discriminant_offset 2022-11-15 12:17:40 -05:00
Richard Feldman
d3d21630e8
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2022-11-15 12:16:19 -05:00
Richard Feldman
8e2bbee377
Simplify how glue_procs are handled 2022-11-13 23:10:23 -05:00
Richard Feldman
746b2fdeb1
Further incorporate closures into glue 2022-11-12 18:08:30 -05:00
Richard Feldman
5b04c0e31d
Take closures into account with has_float_help 2022-11-12 15:51:05 -05:00
Richard Feldman
b943537068
s/glue_procs/glue_getter_procs for clarity 2022-11-12 04:19:55 -05:00
Richard Feldman
b06d90c405
Fix some single tag payload glue 2022-11-12 04:19:45 -05:00
Richard Feldman
c29d9ef682
Drop unused imports 2022-11-12 02:59:55 -05:00
Richard Feldman
3c80d8ee13
Thread glue procs into Types::new 2022-11-12 02:59:06 -05:00
Richard Feldman
d6490b8731
Don't hardcode glue to assume UNIX as the OS 2022-11-12 02:44:51 -05:00
Brian Carroll
b64514d7e4
Fix web REPL error formatting by routing the active Palette everywhere 2022-11-11 23:38:08 +00:00
Richard Feldman
99420f65ed
Merge branch 'glue-exposed' into glue-getters 2022-11-11 17:02:27 -05:00
Richard Feldman
cc190374b5
Inline Env::vars_to_types 2022-11-11 16:54:29 -05:00
Richard Feldman
7667aebebb
Avoid an allocation on variables 2022-11-11 16:53:56 -05:00
Richard Feldman
0c78716696
Fix glue for exposed-to-host-symbols 2022-11-11 16:43:36 -05:00
Richard Feldman
aca942864d
Extract Types::new and hide Env 2022-11-11 16:43:36 -05:00
Richard Feldman
1e7ffae62b
Only generate glue for exposed-to-host symbols 2022-11-11 16:42:28 -05:00
Richard Feldman
a0e450cadd
wip 2022-11-11 16:37:49 -05:00
Richard Feldman
c5037e7311
Extract Types::new and hide Env 2022-11-11 16:37:31 -05:00
Richard Feldman
15143e5aa7
Only generate glue for exposed-to-host symbols 2022-11-11 16:36:07 -05:00
Richard Feldman
f8fb4a1196
Add types::RocFn 2022-11-11 14:31:00 -05:00
Folkert
14cd48fce7
Merge remote-tracking branch 'origin/main' into rust-1-62-1 2022-11-09 13:51:51 +01:00
Ayaz Hafiz
281bc94b55
Remove FlatType::Erroneous 2022-11-08 14:11:25 -06:00
Richard Feldman
6486591201
Merge pull request #4462 from lukewilliamboswell/rust-docs
Rust docs update #2
2022-11-08 09:35:04 -08:00
Anton-4
590c61a6fd
Merge branch 'main' of github.com:roc-lang/roc into editor_launch_fix 2022-11-04 15:15:55 +01:00
Luke Boswell
a3f901427a
correct formatting and removed duplicate image 2022-11-03 20:02:10 +11:00
Luke Boswell
f3bdb5f321
updating rust package documentation 2022-11-03 20:00:06 +11:00
Ayaz Hafiz
05e8e6de6f
Disallow typing optional fields when required fields are annotated
Closes #4313
2022-10-18 15:50:20 -05:00
Anton-4
652dbde26e
editor launch fix + new test 2022-10-15 12:36:06 +02:00
Jan Van Bruggen
be3e4e7b11
De-bump all v0.1.0 Roc packages to v0.0.1 2022-10-09 00:16:19 -06:00
Ayaz Hafiz
73210469db
Add tests for env var passing 2022-10-05 14:36:34 -05:00
Ayaz Hafiz
1cffb3376e
Ignore can errors in glue tests 2022-09-30 13:40:35 -05:00
Richard Feldman
b6157e76b8
Fix type mismatch in exit code 2022-09-19 21:12:48 -04:00
Richard Feldman
ac68d75eec
Merge pull request #3989 from roc-lang/fix-glue-segfault
Fix glue segfault for newtype wrappers around recursive tag unions
2022-09-13 13:47:51 -07:00
dependabot[bot]
0079048944
Bump bumpalo from 3.10.0 to 3.11.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.11.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 21:08:56 +00:00
Richard Feldman
f85f1b84a2
Merge pull request #3991 from roc-lang/glue-handle-multiple-modules
Add glue test case for multiple modules, and when anonymous type is reused
2022-09-12 13:55:41 -07:00
Ayaz Hafiz
0b2cea8c42
Move 2022-09-12 13:25:01 -04:00
Ayaz Hafiz
564d9f795a
Deal with equivalence in the presence of unresolved recursive pointers 2022-09-12 12:39:47 -04:00
Ayaz Hafiz
9eb1c170f3
Print unreachable id 2022-09-12 12:26:44 -04:00
Ayaz Hafiz
9f3a44d323
Remove redundant reference 2022-09-12 12:26:44 -04:00
Ayaz Hafiz
ea527f627f
Add test for multiple modules and anonymous string 2022-09-12 12:26:43 -04:00
Ayaz Hafiz
f1b5705b06
Re-use existing ID of added anonymous type, when possible 2022-09-12 12:26:43 -04:00
Ayaz Hafiz
15f66e3eaa
Add some tracing for debug purposes 2022-09-12 12:26:43 -04:00
dependabot[bot]
35b2e9c80f
Bump clap from 3.2.18 to 3.2.20
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v3.2.20)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 10:33:19 +00:00
dependabot[bot]
d1c406812f
Bump pretty_assertions from 1.2.1 to 1.3.0
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases)
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: pretty_assertions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 05:28:00 +00:00
Jan Van Bruggen
824f8a3e48
Move "🔨 Rebuilding platform..." message from stdout to stderr 2022-09-11 10:25:02 -06:00
Anton-4
f6324edc10
Merge branch 'main' of github.com:roc-lang/roc into rust-1-62-1 2022-09-10 18:17:33 +02:00
Richard Feldman
474a31d7d6
Fix test 2022-09-07 15:36:32 -04:00
Richard Feldman
3a12aa26cc
Use repr(transparent) in glue for newtype wrappers 2022-09-07 13:00:08 -04:00
Richard Feldman
5b787aa218
Glue newtype wrappers of recursive tag unions 2022-09-07 13:00:07 -04:00
Richard Feldman
a1f3036fc8
Reduce some allocations in glue 2022-09-07 13:00:07 -04:00
dependabot[bot]
d061730960
Bump dircpy from 0.3.12 to 0.3.13
Bumps [dircpy](https://github.com/woelper/dircpy) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/woelper/dircpy/releases)
- [Commits](https://github.com/woelper/dircpy/commits)

---
updated-dependencies:
- dependency-name: dircpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:02:27 +00:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout 2022-08-31 14:33:52 -05:00
Ayaz Hafiz
c5466810a4
Add LayoutInterner to LayoutCache
Adds a thread-local interner of layouts to LayoutCache, and updates all
references appropriately.

This is a bit suboptimal for single-threaded workloads that will look at
creating layout caches again, like the REPL, but I think that's okay for
now - since the global interner will be uncontested for those workloads, it
should still be plenty fast to access the interner, even behind a lock.
2022-08-31 14:33:51 -05:00
dependabot[bot]
492eff3556
Bump clap from 3.2.11 to 3.2.18
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.11 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.11...v3.2.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 10:17:11 +00:00
Richard Feldman
282a31ae8b
Fix glue for into_ and as_ on single-tag unions 2022-08-26 11:28:26 -04:00
Richard Feldman
641f089384
Use repr(transparent) for single-tag union glue 2022-08-26 09:18:20 -04:00
Anton-4
9aee7cdcf6
1.62.1 version update, fmt, clippy 2022-08-22 15:27:19 +02:00
Richard Feldman
3a1f2a2fcf
clippy 2022-08-21 18:06:32 -04:00
Richard Feldman
3b9c65aefe
Disable more clippy checks in glue 2022-08-21 18:06:31 -04:00
Richard Feldman
e829d2af5b
Revert "Ignore all clippy lints in glue"
This reverts commit 436d2359f5352eed18b91022cf5d86a00dd0c6b4.
2022-08-21 18:06:31 -04:00
Richard Feldman
c1aee72c73
Ignore all clippy lints in glue 2022-08-21 18:06:31 -04:00
Richard Feldman
32f4546518
Skip rustfmt on glue 2022-08-21 18:06:31 -04:00
Richard Feldman
cd01e7fe76
Add #![allow(unused_unsafe)] to Rust glue header 2022-08-21 18:06:31 -04:00
Richard Feldman
64cea0e7ff
Don't glue ManuallyDrop for types that are Copy 2022-08-21 18:06:31 -04:00
Richard Feldman
577128d410
Check in initial glue for RocType etc 2022-08-21 18:06:30 -04:00
Richard Feldman
fa1f2f87ae
Fix glue generation for keywords 2022-08-21 18:06:30 -04:00
Richard Feldman
ace37cf613
Glue 2-tag unions w/ no payloads (but aren't Bool) 2022-08-21 18:06:30 -04:00
Richard Feldman
539429f16b
Add RocType.roc to glue 2022-08-21 18:06:29 -04:00
Richard Feldman
ccd0d32332
Merge remote-tracking branch 'origin/main' into glue-dict 2022-08-21 09:51:22 -04:00
Richard Feldman
8742a81caf
Add len for RocDict and RocSet 2022-08-15 13:05:32 -04:00
Richard Feldman
0b54f08f7f
Generate glue for Set 2022-08-15 13:05:32 -04:00
Richard Feldman
ef64966159
Add glue test for Set 2022-08-15 13:05:31 -04:00
Richard Feldman
99da1cbf6f
Fix some unused warnings 2022-08-15 13:05:31 -04:00
Richard Feldman
1b4a98167c
Add a glue test for Dict 2022-08-15 13:05:31 -04:00
Richard Feldman
3f950059b8
Glue for dictionaries 2022-08-15 10:59:58 -04:00
Richard Feldman
5c4d6d3dfc
Add todos for glue for Dict and Set 2022-08-15 10:59:58 -04:00
dependabot[bot]
4c6ad52c47
Bump indoc from 1.0.6 to 1.0.7
Bumps [indoc](https://github.com/dtolnay/indoc) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.6...1.0.7)

---
updated-dependencies:
- dependency-name: indoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 13:18:18 +00:00
dependabot[bot]
7d174089ae
Bump dircpy from 0.3.10 to 0.3.12
Bumps [dircpy](https://github.com/woelper/dircpy) from 0.3.10 to 0.3.12.
- [Release notes](https://github.com/woelper/dircpy/releases)
- [Commits](https://github.com/woelper/dircpy/commits)

---
updated-dependencies:
- dependency-name: dircpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 05:30:48 +00:00
Richard Feldman
778f7fe45e
Fix strategy for fixing up pending recursive types 2022-08-12 10:40:39 -04:00
Richard Feldman
1d5943ccff
Revert "Failed attempt"
This reverts commit d05f9e67e7.
2022-08-12 10:22:54 -04:00
Richard Feldman
d05f9e67e7
Failed attempt 2022-08-12 00:38:19 -04:00
Richard Feldman
394cce74ef
Revert "Remove pending recursive type IDs in glue"
This reverts commit fcb174cfa0.
2022-08-11 23:53:29 -04:00
Richard Feldman
fcb174cfa0
Remove pending recursive type IDs in glue 2022-08-11 23:53:28 -04:00
Richard Feldman
d7ef42612b
Improve a variable name 2022-08-11 23:53:28 -04:00