Commit graph

427 commits

Author SHA1 Message Date
Folkert
84a8b69437 generate IR that uses uniqueness 2020-08-11 14:47:14 +02:00
Richard Feldman
b442b9c27a Don't change env.home in specialize_all 2020-08-10 23:01:17 -04:00
Richard Feldman
49a6bd86b4 Procs now store pending specializations by default 2020-08-10 23:00:54 -04:00
Richard Feldman
497a5af72d Avoid a clone 2020-08-10 22:59:14 -04:00
Richard Feldman
8d0c1ddc68 Drop obsolete mono::expr module 2020-08-10 21:25:47 -04:00
Richard Feldman
f4545e8bf7 Expose module thunks 2020-08-10 21:25:47 -04:00
Richard Feldman
35e132e6d7 Fix quicksort benchmark 2020-08-10 21:25:47 -04:00
Richard Feldman
1c828f7811 Have Procs store pending_specializations by default 2020-08-10 21:25:47 -04:00
Richard Feldman
e054131cdd Refactor out a .clone() 2020-08-10 21:25:47 -04:00
Richard Feldman
3cc36e5198
Drop unused field 2020-08-10 19:27:29 -04:00
Richard Feldman
582ed7eda6
Drop commented-out code 2020-08-10 19:27:20 -04:00
Richard Feldman
1e7b3de2c2
Drop obsolete comment 2020-08-10 19:27:02 -04:00
Folkert
25e96fcade fix stack overflow in inc/dec 2020-08-10 22:31:20 +02:00
Folkert
b4c5c2f793 add variable to list
stores the list type, so we can know whether it is unique
2020-08-10 21:05:57 +02:00
Folkert
9e75252ddb centralize decision on what is refcounted 2020-08-10 12:59:10 +02:00
Richard Feldman
695408e74e
Merge branch 'trunk' into refcount 2020-08-09 22:32:26 -04:00
Folkert
4caef70668 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-09 13:49:13 +02:00
Richard Feldman
0f8906b6d3 Make pattern_symbols be a slice 2020-08-08 21:54:16 -04:00
Richard Feldman
3fe2a4e3fd Drop unused jump_counter 2020-08-08 19:53:21 -04:00
Folkert
ce3fefb5f0 fix trailing whitespace 2020-08-09 01:05:29 +02:00
Folkert
f8143e3e53 perform copy propagation 2020-08-09 00:48:53 +02:00
Folkert
078c6df677 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-08 22:34:14 +02:00
Folkert
5082d40ff5 clean up test imports 2020-08-08 21:56:43 +02:00
Folkert
a015dad566 hook up list inc/dec 2020-08-08 21:42:14 +02:00
Folkert
a248a92d9f generate inc/dec in procs 2020-08-08 18:54:28 +02:00
Folkert
e3356dea7b clippy warnings 2020-08-08 11:51:59 +02:00
Richard Feldman
c8e647ccfc Use is_zero_sized to remove lots of ptr_bytes 2020-08-07 20:08:06 -04:00
Folkert
55eff50e36 good progress on Lean-based inc/dec 2020-08-07 23:22:59 +02:00
Folkert
a5a5731010 insert most inc/dec instructions 2020-08-07 02:35:12 +02:00
Folkert
9d1f545ad6 implement free variables 2020-08-07 00:45:12 +02:00
Folkert
2467815cef rework how values from a pattern are assigned 2020-08-07 00:16:17 +02:00
Folkert
0fbcfc7431 fix clippy complaints 2020-08-06 21:39:55 +02:00
Folkert
9dbce40a55 remove now-unused mono files 2020-08-06 21:17:25 +02:00
Folkert
378fe1d5d1 phase out old mono stuff 2020-08-06 21:05:14 +02:00
Folkert
fb3aced178 rename pattern2 -> exhaustive 2020-08-06 18:45:28 +02:00
Folkert
5c0dc268f8 fix mono tests 2020-08-06 16:55:35 +02:00
Folkert
40b68f7e99 all gen tests are passing 2020-08-06 14:08:33 +02:00
Folkert
db0bed2fe7 mostly fix issues with patterns/guards/switch/cond 2020-08-06 01:09:42 +02:00
Folkert
dab00f2e2d add Alias expression 2020-08-05 22:45:25 +02:00
Folkert
c18bbe9a63 join points with arguments 2020-08-05 22:33:07 +02:00
Folkert
b22fa7c9cd gen empty list correctly 2020-08-05 16:48:06 +02:00
Folkert
34f6417fae implement list literals 2020-08-05 16:27:49 +02:00
Folkert
4e55a4bf92 more pattern matching fidling 2020-08-05 16:10:45 +02:00
Folkert
8c79b88697 things are working again 2020-08-04 01:28:40 +02:00
Folkert
6ce02b5727 wip working on function calls 2020-08-03 23:16:46 +02:00
Folkert
cccfeb51f2 simple when is working 2020-08-03 20:10:41 +02:00
Folkert
2a0b010a74 make Tag arguments into symbols 2020-08-01 23:39:11 +02:00
Folkert
a8bfd90a50 introduce Inc 2020-08-01 22:58:29 +02:00
Folkert
f48a661b3d fixing tests 2020-07-31 00:49:16 +02:00
Folkert
01f9539d8e clipping clippings 2020-07-31 00:05:47 +02:00