Ayaz Hafiz
358681a464
Generate schema for checkmate
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
f78919cd2e
Add JsonSchema
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
d7a30966c1
Add explicit casts
...
For some reason these can no longer be inferred.
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
8d1d4e6df3
debug import
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
c9d2c4d4cd
Drop unused schema
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
d6c24accef
Schema unification mode
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
5ea9bd19b2
Unify on roots
2023-07-17 09:50:37 -05:00
Ayaz Hafiz
18e9f8f034
Move unify::Mode to roc_solve_schema
2023-07-17 09:50:36 -05:00
Ayaz Hafiz
87d108eccc
Push checkmate through env
2023-07-17 09:48:59 -05:00
Ayaz Hafiz
8097ee3342
Hide subs behind Env deref
2023-07-17 09:48:57 -05:00
Ayaz Hafiz
1df2e942a2
Add a collector of unification + solve events
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
40223a697d
First pass of checkmate schema
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
93513cffae
pub is_signed
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
a21e016032
Make public
2023-07-17 09:47:57 -05:00
Ayaz Hafiz
879719b166
s/width/min_width
2023-07-17 09:47:57 -05:00
Ayaz
b36ad76cdd
Merge pull request #5576 from roc-lang/spike-erasure
...
Implement function erasure
2023-07-17 03:27:29 -05:00
Folkert de Vries
dc14e6f060
Merge pull request #5667 from roc-lang/recursive-space-saving
...
When possible, prefer NonNullableUnwrapped over NullableWrapped
2023-07-17 06:49:13 +02:00
Richard Feldman
3a934ba8d6
Add Ivo-Balbaert to README sponsors
...
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-07-16 17:46:11 -04:00
Folkert
48fa4f7a8e
When possible, prefer NonNullableUnwrapped over NullableWrapped
...
e.g. in the scenario of `[ A Str, B, C, D ]`, rather than having one tag be nullable, we want
to store the tag id in the pointer. This generally saves 8 bytes for
every allocation, and prevents an allocations for all tags except A.
2023-07-16 20:06:46 +02:00
Richard Feldman
06dbe06971
Merge pull request #5662 from roc-lang/earthfile_resurrection
...
Earthfile is back
2023-07-15 15:50:10 -04:00
Anton-4
bb972f6303
remove on PR trigger
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-15 16:48:37 +02:00
Anton-4
e3a3959343
accidentally removed pr trigger
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-15 16:13:36 +02:00
Anton-4
761b49acd3
try different env var substitution
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-15 16:12:00 +02:00
Anton-4
0499b27b84
fix env var replacement
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-15 16:08:07 +02:00
Anton-4
2ed8a210fd
try github runner
...
Let's see how long this takes...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-07-15 14:20:26 +02:00
Anton-4
0601ac6f2d
added earthly workflow
2023-07-15 13:44:32 +02:00
Ayaz Hafiz
016862ca28
Fix types
2023-07-12 17:52:05 -05:00
Ayaz Hafiz
00730be6fb
Fix doc comments
2023-07-12 17:16:12 -05:00
Ayaz Hafiz
a2574a5a98
Update vars
2023-07-12 17:01:31 -05:00
Ayaz Hafiz
fea41000e5
Update mono tests
2023-07-12 17:00:55 -05:00
Ayaz Hafiz
baf6c6f712
Make sure to specialized erased at least once
2023-07-12 16:43:22 -05:00
Ayaz Hafiz
3a3ee4dedf
Elide lifetimes
2023-07-12 16:10:59 -05:00
Ayaz Hafiz
937e042c8f
Fixed erased with nullable unwrapped union
2023-07-12 16:01:44 -05:00
Ayaz Hafiz
5e9a06e537
Boxed helpers
2023-07-12 15:55:25 -05:00
Ayaz Hafiz
a8d821bf87
Remove all box references
2023-07-12 15:50:00 -05:00
Ayaz Hafiz
b5db3f68e1
Add experimental flag for roc_erase
2023-07-12 14:46:37 -05:00
Ayaz Hafiz
9702f30a61
Support erased functions in debug mode
2023-07-12 14:46:37 -05:00
Ayaz Hafiz
cb56872566
Add initial tests
2023-07-12 14:46:36 -05:00
Ayaz Hafiz
667a69279e
Refcounting null box ptr
2023-07-12 14:46:36 -05:00
Ayaz Hafiz
0385da490a
Support ValuePtr in alias analysis and llvm
2023-07-12 14:46:12 -05:00
Ayaz Hafiz
8d9c6d09b9
Load as a stack pointer
2023-07-12 14:46:11 -05:00
Ayaz Hafiz
fde75d5432
Correct calling branches
2023-07-12 14:45:03 -05:00
Ayaz Hafiz
23f4d02f81
Cleanup
2023-07-12 14:45:03 -05:00
Ayaz Hafiz
6ba6b04a17
Pass function pointer directly rather than load/store into alloca
2023-07-12 14:45:02 -05:00
Ayaz Hafiz
a123820b2b
Fix argument type
2023-07-12 14:45:02 -05:00
Ayaz Hafiz
1cd9deffe2
Sorry checker
2023-07-12 14:45:02 -05:00
Ayaz Hafiz
3e23699bb4
Build easy refcounter for erased
2023-07-12 14:45:02 -05:00
Ayaz Hafiz
bc4c91a68f
Easy mode refcounter
2023-07-12 14:45:02 -05:00
Ayaz Hafiz
f37cc48e88
Build erased load in llvm
2023-07-12 14:45:02 -05:00
Ayaz Hafiz
fcb907b0c9
Don't pass empty captures
2023-07-12 14:45:02 -05:00