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