Commit Graph

150 Commits

Author SHA1 Message Date
c88ba16bdc Add package for determining integer sizes 2023-10-27 16:10:05 -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
99c09d9b07 Added basic equality checks to types 2023-10-19 21:53:19 -04:00
fc97c3ed49 WIP expression analysis type checking 2023-10-19 19:13:55 -04:00
75c18763a9 New syntax for method calls
This will free up the '::' token for namespace/module access. Exciting!
2023-10-19 17:19:23 -04:00
30636e18aa Expression analysis stub 2023-10-18 02:29:24 -04:00
92e8205bb9 That, but for operation arg count testing 2023-10-18 01:39:43 -04:00
1302731793 Updated analyzer tests to account for lexer changes 2023-10-18 01:33:22 -04:00
cdee4adf1c Star is now a separate token 2023-10-18 01:14:17 -04:00
a80492420e Implement custom lexer FINALLY 2023-10-18 00:48:35 -04:00
1dab6e3805 Finished analyzing method signatures 2023-10-17 03:21:25 -04:00
decefce142 hngnggg i forgor to commit
- implemented scope management
- finished function signature analyzing
- added method analyzing
  - had to restructure type analysis slightly to do this
2023-10-17 03:11:11 -04:00
8b4244e3cb Booleans are now literals 2023-10-09 00:24:48 -04:00
e31ef61e6b Function analysis stub 2023-10-09 00:13:13 -04:00
fcadc0971b Added recursive type definitions 2023-10-08 23:54:45 -04:00
091a59c1bd All the builtin/primitive types are in their own place 2023-10-07 17:32:47 -04:00
6f40b6216b Testing ALL the types 2023-10-07 02:27:49 -04:00
f1e415b038 Add readme 2023-10-07 01:55:33 -04:00
07bf334689 the ansalyzer 2023-10-07 01:18:05 -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
1359901847 Even more tests 2023-10-05 16:57:32 -04:00
a77b281979 Updated design document 2023-10-03 18:38:15 -04:00
97bbf048c3 Replace cast and bitcast with ~ and ~~ respectively 2023-10-03 18:20:04 -04:00
097942014d Add tests for type checking literals 2023-10-03 17:57:42 -04:00
b998a982dd Add uniqueness tests for builtin namess 2023-10-03 17:08:30 -04:00
59c5d280fc Added tests for operation argument counts 2023-10-03 16:54:39 -04:00
d23af1ddd0 Add more name tests 2023-09-28 00:17:26 -04:00
212c03c81b Methods are now declared with :: instead of . 2023-09-26 17:19:23 -04:00
181db224d6 Uniqueness error and non-error cases are tested 2023-09-26 16:47:04 -04:00
6b9e0f4f2d Added more tests to analyzer 2023-09-26 16:40:26 -04:00
f19e819280 Analyzer passes first test 2023-09-23 00:55:15 -04:00
5d98efb850 Added base analyzer 2023-09-23 00:49:23 -04:00
c9e7390f06 Added scope information to some entities 2023-09-23 00:48:50 -04:00
57e41e48ff Ok now slices actually 2023-09-22 00:58:06 -04:00
53c0bb7171 Added slicing operation 2023-09-21 17:26:40 -04:00
5b0e9e53cc Added slices because of how extremely important they are 2023-09-21 17:04:53 -04:00
0f7e2e3f10 Wrote unit test for methods 2023-09-19 01:35:56 -04:00
f703dead1d Tested and fixed more expressions 2023-09-19 01:10:58 -04:00
701bf13a3a Tested and fixed a lot of expressions 2023-09-18 22:08:55 -04:00
40514cfcf9 Fixed errors with parsing types 2023-09-18 02:12:27 -04:00
8972d5ad8e Created testing framework for parser 2023-09-18 01:55:38 -04:00
ecd222ef42 Add ParseFile convenience method 2023-09-18 00:24:31 -04:00
eb73b388d6 Add String() method to parser.Tree 2023-09-18 00:24:13 -04:00
6df77d35fc Implemented parser 2023-09-18 00:13:55 -04:00