Commit Graph

752 Commits

Author SHA1 Message Date
Sasha Koshka b40953a0ec Add TypeUnion to entity 2024-03-01 03:00:17 -05:00
Sasha Koshka cde0eec9aa Add union type syntax to spec 2024-03-01 02:54:26 -05:00
Sasha Koshka 096da5bdfd Types can now produce hashes of themselves 2024-03-01 02:53:29 -05:00
Sasha Koshka fe14072392 Add a hashing system to Entity 2024-03-01 02:53:10 -05:00
Sasha Koshka 0947a8de44 Add design for union type 2024-03-01 02:10:21 -05:00
Sasha Koshka 278a243804 Add pkg.go.dev badge 2024-03-01 00:24:04 -05:00
Sasha Koshka 005b2fcd56 Inline string literal since #46 has been remedied 2024-03-01 00:17:39 -05:00
Sasha Koshka 5e93a7afd1 TestLiteralReference is now an error test 2024-03-01 00:13:32 -05:00
Sasha Koshka c22ac87cd0 Fixed analyzer.isLocationExpression 2024-03-01 00:12:21 -05:00
Sasha Koshka 8ae6ea3626 Add test case for #46 2024-03-01 00:04:15 -05:00
Sasha Koshka 8e3b21f807 Merge pull request 'generator-multi-unit-tests' (#51) from generator-multi-unit-tests into main
Reviewed-on: #51
2024-03-01 05:00:07 +00: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 4cfa431919 Merge branch 'main' into generator-multi-unit-tests 2024-02-28 19:42:11 -05:00
Sasha Koshka 6b4ea0e255 Merge pull request 'analyzer-fix-bitcast' (#50) from analyzer-fix-bitcast into main
Reviewed-on: #50
2024-02-29 00:34:41 +00:00
Sasha Koshka e2d944d534 The buge (#47) is vanquished!!!! 2024-02-28 19:30:33 -05:00
Sasha Koshka 81c4f1e46b Expressions now have HasExplicitType() 2024-02-28 18:31:46 -05:00
Sasha Koshka 60ef92bd4c Add test case to analyzer for #47 2024-02-28 18:03:15 -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 552c73f606 Fix example unit UUID 2024-02-27 19:50:55 +00:00
Sasha Koshka e26728d27f Minor grammar fixes 2024-02-27 19:41:19 +00:00
Sasha Koshka 981a5332e7 Fix ordering of dirs 2024-02-27 19:32:23 +00:00
Sasha Koshka 1f5e0fe8c1 Correct dir paths 2024-02-27 19:30:54 +00:00
Sasha Koshka b3ae80e809 Add problematic multiunit test case from #49 2024-02-27 03:06:54 -05:00
Sasha Koshka e5344c034b Merge pull request 'test-compiled-code' (#48) from test-compiled-code into main
Reviewed-on: #48
2024-02-27 07:50:17 +00:00
Sasha Koshka d6f0c470ee Compiler has bug() to wrap unexpected errors 2024-02-27 02:45:32 -05:00
Sasha Koshka ef07772ce4 Add some interface tests to compiler 2024-02-27 02:36:35 -05:00
Sasha Koshka 7720a1f629 Compiler debug output makes more sense 2024-02-27 02:33:35 -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 1d90b3c7d7 Fix analyzer.Tree.methodExists and clear raw maps
This was too urgent not to continue without
2024-02-27 02:24:03 -05:00
Sasha Koshka 5d5ffb9c4c Add test for printing argv
Disabled for now due to #47
2024-02-27 00:22:02 -05:00
Sasha Koshka b9eec89773 Add test case for counting cli args 2024-02-27 00:09:01 -05:00
Sasha Koshka 64d85c7b70 Temporarily circumvent crash in analyzer #46 2024-02-27 00:00:33 -05:00
Sasha Koshka 1d4f958efa Added a test case for depending on compiled units 2024-02-26 23:59:47 -05:00
Sasha Koshka b441cc1e7b Added a test case for depending on compiled units 2024-02-26 23:50:14 -05:00
Sasha Koshka 48876a8229 Tests can now compile dependencies first 2024-02-26 23:32:40 -05:00
Sasha Koshka c9f453f35e Fixed test case file for systeminclude 2024-02-26 14:40:03 -05:00
Sasha Koshka c20a5deede Resolver no longer requires system units to be files (????????) 2024-02-26 14:39:44 -05:00
Sasha Koshka 496d4aeb01 Added test case for grabbing a module from /usr/include/fspl 2024-02-26 14:33:31 -05:00
Sasha Koshka aa3cabe82b Fix hello world test 2024-02-26 14:24:47 -05:00
Sasha Koshka 2a74389830 Compiler test now uses testcommon.CompareHex 2024-02-26 14:22:51 -05:00
Sasha Koshka e898379707 Add testcommon.CompareHex 2024-02-26 14:22:33 -05:00
Sasha Koshka dc47a4c8c0 testcommon.LogColumns has a configurable width 2024-02-26 14:18:09 -05:00