Commit Graph

179 Commits

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