Commit Graph

165 Commits

Author SHA1 Message Date
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
Sasha Koshka 7600bc28d9 Fixed generator map sorting 2024-02-19 21:57:21 -05:00
Sasha Koshka a22b6137d5 Types are given proper link names in the generator 2024-02-19 21:09:21 -05:00
Sasha Koshka 306b029951 Generator now has module support 2024-02-19 21:00:20 -05:00
Sasha Koshka 3d75cdbd02 Parser now has something of a concept of modules 2024-02-14 01:44:25 -05:00
Sasha Koshka b743e56c2a Updated generator 2024-02-13 13:12:53 -05:00
Sasha Koshka bf73821dbd New test for generator confirmed to work, filled out 2024-02-10 21:31:10 -05:00
Sasha Koshka 2571fcde99 Add same test as stub to generator 2024-02-10 21:20:24 -05:00
Sasha Koshka deae98001d Fix small issues with generator readme 2024-02-10 18:32:35 -05:00
Sasha Koshka a91922e749 Add generator README.md 2024-02-10 18:26:51 -05:00
Sasha Koshka 35299ea526 Updated generator's test-common 2024-02-09 04:02:55 -05:00
Sasha Koshka 100861dc47 Added module-level doc comments to generator and generator/native 2024-02-09 00:57:06 -05:00
Sasha Koshka 122cafbc2b Unexport generator.resultMode 2024-02-08 16:06:00 -05:00
Sasha Koshka 74e84c7da4 Fixed all generator tests 2024-02-08 13:32:04 -05:00
Sasha Koshka 94a25f0aac Generator compiles and runs 2024-02-08 13:14:21 -05:00