Commit Graph

39 Commits

Author SHA1 Message Date
4931f97496 Switch statement analysis passes tests 2024-03-25 19:50:54 -04:00
a50a5febb9 Untested analysis of switch statements 2024-03-25 12:08:28 -04:00
f58c01be52 Updated analyzer 2024-03-14 03:18:46 -04:00
a8fd79991c Renamed restricted access to opaque access 2024-03-14 01:54:22 -04:00
e94d438332 Use TypesEqual() instead of comparing hashes 2024-03-06 14:16:36 -05:00
ef947b8dc6 Analyzer lets unions of the same type be assigned to eachother 2024-03-06 14:00:37 -05:00
fd8a15db66 Analyze match expressions 2024-03-04 14:19:33 -05:00
459020126d Add assignment rules for unions 2024-03-02 12:12:43 -05:00
c22ac87cd0 Fixed analyzer.isLocationExpression 2024-03-01 00:12:21 -05:00
23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
9d009a1f64 Analyzer does not allow value casting of restricted types 2024-02-16 23:52:52 -05:00
4e385edac8 Analyzer makes use of entity.FormatType 2024-02-12 14:47:49 -05:00
51e85f6cf8 Bring over better doc on assignment modes to the source file 2024-02-10 14:50:43 -05:00
d6a645f93b Rework analyzer code to fit new parser 2024-02-08 03:51:21 -05:00
2ce910c54a Same thing as last commit 2024-01-26 04:05:58 +00:00
db31c9b80e Add more comments to explain casting rules in analyzer 2024-01-26 00:40:22 +00:00
6bcbd6aff9 Made the type checker a tad more robust 2023-12-15 13:23:37 -05:00
d16079cbe8 Fix IsUnsigned 2023-12-07 17:05:26 -05:00
7f866d102d Fixed several cases where the generator would output invalid IR 2023-12-03 22:23:04 -05:00
4c07b9f206 Add length to analyzer and parser 2023-11-30 02:05:32 -05:00
6ddb32fd5c Multi-layer location expression type inference 2023-11-29 20:07:16 -05:00
72941e1ab4 Slight modifications to analyzer 2023-11-21 15:04:01 -05:00
605fd24228 Pass all analyzer tests 2023-11-04 17:59:04 -04:00
47beb9e41f Pass all but one test 2023-11-04 16:34:40 -04:00
a2e22d1154 Fix goofy bugs 2023-10-31 21:52:47 -04:00
af52bbb070 uhhhh 2023-10-31 15:43:19 -04:00
dd9f866165 Can now assign array directly to slice 2023-10-31 01:46:18 -04:00
6f14b8a1b3 Pass a bunch of tests 2023-10-29 15:09:20 -04:00
d435a1b1be Removed Void as a concept 2023-10-29 14:47:28 -04:00
a6fec780c7 Start analyzing literals 2023-10-27 16:10:31 -04:00
4da8ecd25f More expressions (wip) 2023-10-26 10:43:50 -04:00
964daf01ed Analysis of value/bit casts 2023-10-25 01:57:02 -04:00
0bcc5e7d46 Location expressions 2023-10-24 21:54:59 -04:00
9a7087ab14 Added analysis for numerous types of expressions 2023-10-24 18:29:33 -04:00
ee8eabcfc4 I forgor 2023-10-24 01:34:58 -04:00
5ac046d5b1 Function call analysis 2023-10-20 13:48:05 -04:00
fc97c3ed49 WIP expression analysis type checking 2023-10-19 19:13:55 -04:00
2373f715ff Reorganized tests 2023-10-06 18:58:17 -04:00
3570caeb2e Implemented untested type description analysis 2023-10-05 18:27:40 -04:00