Commit graph

5620 commits

Author SHA1 Message Date
Joshua Hoeflich
22e781259d TODO: Actually implement the functions 2021-08-14 19:28:13 -05:00
Joshua Hoeflich
9dad304e95 Passing arguments successfully to bytesToU16 2021-08-14 19:11:27 -05:00
Joshua Hoeflich
8022e3e5f4 Rename var 2021-08-14 18:52:48 -05:00
Joshua Hoeflich
5115a004ed Type shenanigans work 2021-08-14 18:50:55 -05:00
Joshua Hoeflich
c8f6762deb Switch from floats to usize 2021-08-14 18:30:43 -05:00
Joshua Hoeflich
d976f2fc93 Inlining zig side 2021-08-14 18:26:46 -05:00
Joshua Hoeflich
59f07377fe More testing; clean up 2021-08-14 18:23:49 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ce8f947522 Split sig into two separate functions 2021-08-14 18:08:36 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Richard Feldman
bb7726b0e0
Merge branch 'trunk' into store-bool-closure-as-unit 2021-08-14 16:47:42 -04:00
Richard Feldman
b031eb0e54
Merge pull request #1584 from rtfeldman/fix-list-prepend
move List.prepend to zig
2021-08-14 16:47:14 -04:00
Folkert
4b3aef5b30 fix test 2021-08-14 20:28:19 +02:00
Folkert
44253049e2 more tests 2021-08-14 19:08:58 +02:00
Folkert
2c1ab68ea7 represent byte/bool closure as unit 2021-08-14 18:56:05 +02:00
Folkert
3ea63ee18f fix whitespace 2021-08-14 15:55:01 +02:00
Folkert
db877c7395 debug impl for the new Subs 2021-08-14 15:54:37 +02:00
Folkert
441eb02ca3 represent bool closure as unit 2021-08-14 15:54:05 +02:00
Folkert
225c97aae3 move List.prepend to zig 2021-08-14 12:28:05 +02:00
Folkert
6d833845f9 fix typo 2021-08-14 00:53:18 +02:00
Folkert
3e448c1b74 get rid of inefficient conversion from mutmap to uniontags 2021-08-14 00:32:01 +02:00
Folkert
4cbb1c9b25 optimize initial tag union creation 2021-08-13 23:53:27 +02:00
Folkert
26da66d73f remove from_mutmap 2021-08-13 15:42:43 +02:00
Folkert
7d51a6bca3 comment is not a test... 2021-08-13 15:42:18 +02:00
Folkert
1b0d6110cc strip the layout cache so it does no extra work 2021-08-13 15:09:56 +02:00
Richard Feldman
0f42da7b7b
Merge pull request #1510 from rtfeldman/alias-nominal-equality
Alias nominal equality
2021-08-13 08:50:38 -04:00
Folkert
24ddc4b1e8 further optimizations 2021-08-13 13:25:36 +02:00
Folkert de Vries
3ac646f2a6
Merge branch 'trunk' into soa-alias 2021-08-13 13:13:42 +02:00
Folkert
df83bf0d48 Merge remote-tracking branch 'origin/soa-alias' into alias-nominal-equality 2021-08-13 12:11:36 +02:00
Folkert
c9040c012e make things work 2021-08-13 11:04:31 +02:00
Folkert
67182baa81 add new AliasVariables type 2021-08-13 10:07:58 +02:00
Richard Feldman
bf38493d65 Make is_empty const 2021-08-12 21:39:57 -04:00
Folkert
c8007201b0 shrink FlatType further 2021-08-12 23:13:32 +02:00
Folkert
42f04fcc77 use variablesubsslice for Apply 2021-08-12 22:49:56 +02:00
Folkert
46439b2116 optimize 2021-08-12 22:22:52 +02:00
Folkert
966caf4a02 cleanup 2021-08-12 22:21:00 +02:00
Folkert
35874a6b1c progress 2021-08-12 22:19:02 +02:00
Folkert
46f6e86716 use new unification for rec ~ rec 2021-08-12 21:50:10 +02:00
Folkert
ecfb0e2685 also for recursive tags 2021-08-12 21:46:35 +02:00
Folkert
c058368a6d optimize tag union type -> layout conversion 2021-08-12 21:32:23 +02:00
Folkert
cf05afeacc use vec 2021-08-12 21:02:59 +02:00
Folkert
3bbf1a5506 use UnionTags for recursive tag unions 2021-08-12 20:50:33 +02:00
Folkert
e86cc22024 add empty variable slice at index 0 2021-08-12 19:35:33 +02:00
Folkert de Vries
255ddbe8c1
Merge branch 'trunk' into stack_size_with_alignment 2021-08-12 09:49:33 +02:00
Joshua Hoeflich
43c0fa9b35 Fix typo 2021-08-11 21:33:12 -05:00
Joshua Hoeflich
a6ee0ebe52 Merge branch 'debug-flag' of github.com:rtfeldman/roc into debug-flag 2021-08-11 21:30:21 -05:00
Joshua Hoeflich
c3879cf5be Extract constant; cargo clippy 2021-08-11 21:30:14 -05:00
joshuaharry
f2ed3923a4
Merge branch 'trunk' into debug-flag 2021-08-11 21:20:08 -05:00
Richard Feldman
c5289522e5 Try to help the branch predictor 2021-08-11 21:52:56 -04:00
Joshua Hoeflich
bfce144e8a Make llc discoverable on $PATH on more systems 2021-08-11 20:50:55 -05:00