Commit Graph

417 Commits

Author SHA1 Message Date
Folkert
dab6621127 opt tests 2020-08-06 17:05:18 +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
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
5548bf136d conditionally leak memory 2020-08-01 21:37:54 +02:00
Folkert
5d22b6a9cf ensure list elements are aligned 2020-08-01 17:38:59 +02:00
Folkert
f15a50d3fa implement inc and dec for lists 2020-07-31 00:02:36 +02:00
Folkert
4a937b5cc2 allocate lists with a capacity/refcount field at index -1 2020-07-30 14:32:59 +02:00
Folkert
22471167d3 introduce Ownership to list layout 2020-07-30 13:42:47 +02:00
Folkert
95365959f2 insert reset/reuse for Cond 2020-07-27 15:10:07 +02:00
Folkert
c85cee3bc0 compiling again 2020-07-26 23:20:41 +02:00
Folkert
b716636db0 insert inc and dec instructions 2020-07-26 16:36:35 +02:00
Richard Feldman
2af9854b24 Fix List.append off-by-one bug 2020-07-22 19:38:33 -04:00
Richard Feldman
2ef37adc74 Add some more List.append tests 2020-07-22 19:38:15 -04:00
Richard Feldman
40f4cd9835 cargo fmt 2020-07-22 19:37:58 -04:00
Richard Feldman
1ecb795b96 Revert "Fix list length calculation"
This reverts commit 3e61b6d165.
2020-07-18 23:41:15 -04:00
Richard Feldman
3e61b6d165 Fix list length calculation 2020-07-18 23:02:41 -04:00
Chad Stearns
6160a2b2f1 Moved first list empty case closer to where it is used 2020-07-18 22:14:09 -04:00
Chad Stearns
cb92b477ea Reverted fancy closure organization in List.append 2020-07-18 21:50:03 -04:00
Chadtech
36a259b56b
Merge branch 'trunk' into list-append 2020-07-18 21:30:51 -04:00
Chad Stearns
5b80bc0ae3 Use correct error messages for unreachable layouts 2020-07-18 21:30:24 -04:00
Chad Stearns
bc1c676be4 Fix english errors in documentation 2020-07-18 21:30:07 -04:00
Chad Stearns
04198c8895 Revert use of closure for if_first_list_is_empty due to memory problem 2020-07-18 21:24:19 -04:00
Chad Stearns
dc6f0daeef Organized list append code into named closures 2020-07-18 21:06:00 -04:00
Chad Stearns
9881c91e1f Pull some shared variables higher up 2020-07-18 17:37:19 -04:00
Chad Stearns
a37f6d670b Re-implement loop on second input list to List.append, except use an offset pointer instead of doing second_index + first_list_len arithemtic, which is more performant 2020-07-18 14:43:06 -04:00
Chad Stearns
74bd85afaa Remove phi1 helper 2020-07-18 14:42:11 -04:00
Richard Feldman
2babe67998 Fix stack overflow in monomorphization 2020-07-16 19:28:25 -04:00
Chad Stearns
c9869e67c1 Regress to functional first loop, and no second loop 2020-07-14 22:05:55 -04:00
Chad Stearns
a5462b1043 Second loop in List append (non-functional) 2020-07-14 21:50:35 -04:00
Richard Feldman
c6a0970b73 Defer specialization by one level only 2020-07-12 23:43:55 -04:00
Richard Feldman
0ab655fda4 Fix another test 2020-07-12 23:02:31 -04:00
Richard Feldman
5e687cc71c Fix a test 2020-07-12 22:58:52 -04:00
Richard Feldman
c2bc98ea4b Only use pending specializations for other modules 2020-07-12 22:53:03 -04:00
Richard Feldman
0b6053e2f6 Reproduce some more type checking bugs 2020-07-12 22:53:03 -04:00
Richard Feldman
e4915985f7 Re-disable first_empty_list 2020-07-12 22:53:03 -04:00
Richard Feldman
71d87e5772 Revert "Add build_trap"
This reverts commit a43903ab1b088ba82f475f12460a05c706a1bf4e.
2020-07-12 22:53:03 -04:00
Richard Feldman
dd1cc5d24e Revert "Try having build_expr return Either"
This reverts commit 2f065f05892fdc188cfdd8f42e878bebe79879cf.
2020-07-12 22:53:03 -04:00
Richard Feldman
70ceaac9ff Try having build_expr return Either 2020-07-12 22:53:03 -04:00
Richard Feldman
7aaf37f4d1 Add build_trap 2020-07-12 22:53:03 -04:00
Richard Feldman
7c0359c6bf Revert "(REVERT THIS!) Temporarily disable some tests"
This reverts commit 0ed1892329.
2020-07-12 22:53:03 -04:00
Chad Stearns
1221ef3c76 Switched order of checking layout and list length for list reverse implementation 2020-07-12 17:11:26 -04:00
Chad Stearns
f807947ce4 Merging in remote, implemented basics of List append in many modules 2020-07-12 14:35:22 -04:00
Richard Feldman
6eef203e99 Ignore zero-sized fields when unwrapping tag structs 2020-07-07 22:54:58 -04:00