Commit graph

4788 commits

Author SHA1 Message Date
Richard Feldman
aafefb12b2
Fix lambda set numbering issue 2023-07-17 14:09:17 -04:00
Ayaz Hafiz
2b6b1d858d
Colors 2023-07-17 10:24:52 -05:00
Ayaz Hafiz
828b1bd060
Add static data for now 2023-07-17 10:24:44 -05:00
Ayaz Hafiz
18f381e782
ErasedLambda 2023-07-17 10:13:11 -05:00
Ayaz Hafiz
7d3e7ffdfb
Load up 2023-07-17 10:12:18 -05:00
Ayaz Hafiz
87bb6c8437
Start supporting printing unifications 2023-07-17 10:12:18 -05:00
Ayaz Hafiz
9e055dcf53
Basis support for inspecting types 2023-07-17 10:12:17 -05:00
Ayaz Hafiz
8b7823a237
Fix types 2023-07-17 10:10:50 -05:00
Ayaz Hafiz
dac4d842d8
Fix types 2023-07-17 09:52:14 -05:00
Ayaz Hafiz
b3ccc905a4
Fix some checkmate bad schemas 2023-07-17 09:51:01 -05:00
Ayaz Hafiz
fcd733e1df
Dump roc checkmate 2023-07-17 09:51:01 -05:00
Ayaz Hafiz
1282110ef5
Push checkmate through load 2023-07-17 09:51:00 -05:00
Ayaz Hafiz
27dd9d03aa
Stub out checkmate react app 2023-07-17 09:50:38 -05:00
Ayaz Hafiz
271d2a3219
Refactor the schema for granularity 2023-07-17 09:50:37 -05:00
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
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
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