Commit Graph

45 Commits

Author SHA1 Message Date
a50a5febb9 Untested analysis of switch statements 2024-03-25 12:08:28 -04:00
1f04c3a593 Added switch statements, default cases to entity 2024-03-25 01:16:41 -04:00
c0476f14ae Analyze for loops 2024-03-16 13:25:53 -04:00
197373ee27 Add breakable interface 2024-03-16 01:43:56 -04:00
8d69e4cdd3 Fix For.String() 2024-03-15 03:02:50 -04:00
ec873ea895 Index and Element must be declarations 2024-03-15 02:50:28 -04:00
45ab5d95a2 Add range loops to entity 2024-03-14 22:28:50 -04:00
e35a576022 Add more behaviors to expression interface 2024-03-14 02:37:12 -04:00
e0d4be8db8 Removed "in" from match statement 2024-03-13 22:44:11 -04:00
b1cef5d95f Add more semantic fields to Match and Case 2024-03-04 14:09:48 -05:00
8fa9a579fd entity.Match.String() prints "in" instead of "on" 2024-03-04 13:36:07 -05:00
fb7558576e Add match expressions to entity 2024-03-01 21:22:32 -05:00
81c4f1e46b Expressions now have HasExplicitType() 2024-02-28 18:31:46 -05:00
23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
22dc2ef175 Made wording in entity even better 2024-02-14 10:22:33 -05:00
d3d739a24d Parser and entity now refer to units as units instead of modules 2024-02-14 02:01:01 -05:00
89b7273c2f Entity now deals in UUIDs 2024-02-14 01:48:47 -05:00
fa252e59ab Loll oops 2024-02-08 02:22:57 -05:00
93c9f42aab Unify entity.Statement and entity.Expression 2024-02-08 02:22:19 -05:00
f04bf32ce2 Relaxed unneeded rules on AST 2024-02-08 02:19:00 -05:00
50fc1d16de Parse bit and value casts 2024-02-08 01:54:29 -05:00
abbc8e52bf Parse length operations 2024-02-08 01:33:55 -05:00
90a505540e Parse slice operations 2024-02-08 01:29:16 -05:00
f7636ab410 Remove entity participle struct tags 2024-02-05 15:17:59 -05:00
decc5939a1 Remove entity dependency on participle 2024-02-05 15:16:11 -05:00
88bc83f277 Added module referencing to parser 2023-12-19 15:21:10 -05:00
414f4595dc Changed my mind about brackets on break and return statements 2023-12-12 19:51:17 -05:00
7b139199c0 Ditch brackets around break and return statements 2023-12-01 01:53:33 -05:00
4c07b9f206 Add length to analyzer and parser 2023-11-30 02:05:32 -05:00
d435a1b1be Removed Void as a concept 2023-10-29 14:47:28 -04:00
ab262207db Fix entity string conversion 2023-10-29 14:34:21 -04:00
359441d5fa Analyze return statement 2023-10-29 14:28:51 -04:00
8751cc7b89 Analyze break statements 2023-10-29 02:59:45 -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
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
a80492420e Implement custom lexer FINALLY 2023-10-18 00:48:35 -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
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