Commit graph

424 commits

Author SHA1 Message Date
Chad Stearns
12c0cfca21 Comment back in the optimized code gen evaluation 2020-08-08 01:07:08 -04:00
Chad Stearns
e47c847118 Entire inner loop happens in phi2 node, rather than phi2 node happening inside loop 2020-08-08 00:44:15 -04:00
Chad Stearns
0e15f75f3b List.join works in all cases 2020-08-08 00:33:05 -04:00
Chad Stearns
910389cef2 Fully developed list_join tests 2020-08-05 23:24:04 -04:00
Chad Stearns
c73e77b5ef Bring up variables out of inner loop 2020-08-05 23:23:40 -04:00
Chad Stearns
362d3908d5 Fixed dest_elem_ptr not incrementing within inner element inserting loop 2020-08-04 22:54:34 -04:00
Chad Stearns
f4075adf00 Renamed some variables that were copy and pasted 2020-08-04 21:48:53 -04:00
Chad Stearns
ba1feb9330 Fixed problem with index for loop to sum lengths of lists in outer list not initialized to zero 2020-08-04 21:48:37 -04:00
Chad Stearns
60dcad329f Solve memory issue with List.join 2020-08-02 19:15:17 -04:00
Chad Stearns
b9673b68fe Use inner list len for end condition of loop through inner list elements 2020-08-02 19:04:26 -04:00
Chad Stearns
3011bfa7be Fixed some comments 2020-08-02 16:41:39 -04:00
Chad Stearns
4c7503d17e List.join passed LLVM validation 2020-08-02 15:35:03 -04:00
Richard Feldman
6241578831 Fix the type of inner_list_ptr 2020-08-02 15:25:14 -04:00
Chad Stearns
450c36e3c5 List.join loops implemented, but not working 2020-08-02 15:03:12 -04:00
Chad Stearns
e8c49bd7f7 List.push -> List.append 2020-08-01 22:28:48 -04:00
Chad Stearns
a9ab550c10 List.join builtin and unification 2020-08-01 22:28:09 -04:00
Richard Feldman
86ed9f71fc
Merge branch 'trunk' into list-prepend 2020-07-27 21:56:17 -04:00
Richard Feldman
9f9ce327d4 Lazily validate that input bytes are valid UTF-8 2020-07-27 01:10:04 -04:00
Chad Stearns
59b30ad20f Resolve conflicts with remote 2020-07-26 21:41:38 -04:00
Chad Stearns
a5d746d9c9 Comply with clippy 2020-07-25 23:12:31 -04:00
Chad Stearns
8e34373d9f Fixed misnamed variable 2020-07-25 19:48:51 -04:00
Chad Stearns
c2351979e0 Store first element at clone_ptr so as to avoid allocating for a unique index 2020-07-25 19:24:59 -04:00
Chad Stearns
68b13d29fd List prepend implementation with tests, and a few small code clarity changes to list_push implementation 2020-07-25 19:22:01 -04:00
Chad Stearns
759f1289d6 Rename List.push to List.append 2020-07-25 03:43:52 -04:00
Chad Stearns
0b078783fd Renamed List.append to List.concat 2020-07-24 01:12:19 -04: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