Commit Graph

177 Commits

Author SHA1 Message Date
92ad52b2aa Add OS field to Target 2024-03-27 12:05:30 -04:00
650289f03e Generate switch statements 2024-03-26 00:42:27 -04:00
5dda7b2186 Generate match statement default cases 2024-03-25 22:34:24 -04:00
3cd3384006 Remove the star from array literals 2024-03-24 20:31:25 -04:00
18e7850b58 Update generator tests 2024-03-24 20:02:57 -04:00
70c58f74de Fix assignment from array to slice 2024-03-24 19:57:24 -04:00
185ef7f6f9 For loops loop back around to the loop header 2024-03-24 03:35:04 -04:00
f3c0901493 For loop elements are properly copied 2024-03-24 03:09:33 -04:00
84e21b3832 Update generator test cases 2024-03-20 11:54:49 -04:00
648b1df547 Generator generates valid gep index for for loop indexing 2024-03-20 11:51:44 -04:00
a647f27e8c Fix test cases 2024-03-20 11:19:24 -04:00
ecd6eba434 Loops now handle multiple break statements correctly 2024-03-20 04:19:47 -04:00
50f088842a For loop generation should be more correct now 2024-03-20 02:55:31 -04:00
491a9b2369 Untested for loop generation 2024-03-20 02:52:01 -04:00
a9adc77658 For loop generation stub 2024-03-20 02:09:26 -04:00
6be48aea28 Update generator 2024-03-14 03:20:47 -04:00
a9c85bf017 Changed restricted access specified from ~ to # 2024-03-14 01:42:19 -04:00
db98e590fc Change interface symbol from ~ to & 2024-03-13 23:05:58 -04:00
e0d4be8db8 Removed "in" from match statement 2024-03-13 22:44:11 -04:00
0ea05e5836 Fix calling methods on pointers to types in other units 2024-03-13 11:51:51 -04:00
d2c8fdd05c Add generator tests for referring to methods in other units 2024-03-13 11:15:15 -04:00
1565376418 Add TestMethodPtr to generator 2024-03-11 11:50:12 -04:00
8607f08093 Bool is now an i1 2024-03-06 16:46:27 -05:00
ff99c37219 Add tests about this to the generator 2024-03-06 16:44:22 -05:00
e889a9c49b Generator understands assigning return/break to things 2024-03-06 16:43:58 -05:00
4df8a45a16 Add test cases for #55 2024-03-06 15:31:47 -05:00
bf62730e79 One last test 2024-03-06 15:16:15 -05:00
6cd51f3c5f Add match/union generator tests 2024-03-06 14:50:58 -05:00
ab24c1cfc1 Generator supports assigning unions to unions 2024-03-06 14:49:49 -05:00
98d8edc319 Generate phi node for default case in match switch 2024-03-06 13:09:20 -05:00
ff749a03dd Generate assignment to unions 2024-03-06 13:09:03 -05:00
daea6cb22a Generate match statements 2024-03-06 00:42:40 -05:00
54f69ca786 Add match stub 2024-03-05 03:32:31 -05:00
779aaf3cea Generate union types 2024-03-05 03:15:44 -05:00
2ae4111f64 Add some multiunit tests from the analyzer to the generator 2024-02-29 23:59:15 -05:00
b1fc69dacd Change name of generator multiunit test to match analyzer 2024-02-29 23:52:09 -05:00
ee02e71b1d Putting complete covering of bit casts on hold for now 2024-02-28 20:08:54 -05:00
80e310010e Covered more cases with bitcast 2024-02-28 20:08:43 -05:00
fad3597d7a Add more test cases for bitcasting pointers 2024-02-28 19:49:35 -05:00
36456ad1bc Completed out TestUnitWriterInterface 2024-02-28 17:43:17 -05:00
ad8cf0f48f Renamed TestPtrIntCast to TestPtrCast, will put more things in it 2024-02-28 17:36:11 -05:00
75b48b7000 Add and fix test case for #47 (on the generator side at least) 2024-02-28 13:36:21 -05:00
ddf1b57799 Generator uses proper type owner UUID during interface conversion 2024-02-28 12:30:38 -05:00
802a492be1 Generator multiunit tests print what is being analyzed 2024-02-28 11:50:41 -05:00
b3ae80e809 Add problematic multiunit test case from #49 2024-02-27 03:06:54 -05:00
90d735163b Generator's "errNotFound" is more useful when it bubbles to the surface 2024-02-27 02:29:52 -05:00
23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
f06a0e29b9 Updated generator tests 2024-02-19 23:05:30 -05:00
7600bc28d9 Fixed generator map sorting 2024-02-19 21:57:21 -05:00
a22b6137d5 Types are given proper link names in the generator 2024-02-19 21:09:21 -05:00