Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
...
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Folkert
b0d57587e3
List.get with negative index in repl
2024-01-28 22:21:40 +01:00
Ayaz
aaba3f4d82
Merge branch 'main' into clippy-1.74
2023-12-02 20:09:06 -06:00
Brendan Hansknecht
5dd0bdebc9
support seamless slice in expects
2023-12-02 15:57:53 -08:00
Folkert
eda9681982
final fixes
2023-11-18 23:10:21 +01:00
Folkert
148ec3752d
fix bug with record field ordering in repl eval
2023-01-14 15:09:12 +01: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
Folkert
546b702740
nullable wrapped tags
2022-08-06 14:40:00 +02:00
Folkert
8e5b0daa94
figured out how to serialize nested structures
2022-07-27 23:52:11 +02:00
Folkert
283539d61a
stop updating offset in repl_expect inner functions
2022-07-27 22:42:58 +02:00
Folkert
da1bcfc8b0
get rid of bytes_read
2022-07-27 21:34:37 +02:00
Folkert
66f9ff1d58
fix bug with dynamic size calls (copy structs now work)
2022-07-27 14:29:44 +02:00
Folkert
64c2d8d87e
move expect running logic into repl_expect
2022-07-26 21:15:16 +02:00
Folkert
37786f1a09
refactor repl-expect
2022-07-26 20:41:19 +02:00