Commit Graph
43 Commits
Author SHA1 Message Date
Sasha Koshka 86d4f21036 Analyze for loops 2024-03-16 13:25:53 -04:00
Sasha Koshka 83b0dda171 Add breakable interface 2024-03-16 01:43:56 -04:00
Sasha Koshka 36dc8c769c Fix For.String() 2024-03-15 03:02:50 -04:00
Sasha Koshka 9b8941182a Index and Element must be declarations 2024-03-15 02:50:28 -04:00
Sasha Koshka cdc46f96aa Add range loops to entity 2024-03-14 22:28:50 -04:00
Sasha Koshka 12fe353916 Add more behaviors to expression interface 2024-03-14 02:37:12 -04:00
Sasha Koshka 410c6c5ec9 Removed "in" from match statement 2024-03-13 22:44:11 -04:00
Sasha Koshka beefbd5ce7 Add more semantic fields to Match and Case 2024-03-04 14:09:48 -05:00
Sasha Koshka d95c3ae9dd entity.Match.String() prints "in" instead of "on" 2024-03-04 13:36:07 -05:00
Sasha Koshka b286cf3e8d Add match expressions to entity 2024-03-01 21:22:32 -05:00
Sasha Koshka 7225ef7dc3 Expressions now have HasExplicitType() 2024-02-28 18:31:46 -05:00
Sasha Koshka 623bcabb84 Changed repository import paths 2024-02-22 19:22:53 -05:00
Sasha Koshka 832e9232aa Made wording in entity even better 2024-02-14 10:22:33 -05:00
Sasha Koshka 98789cf779 Parser and entity now refer to units as units instead of modules 2024-02-14 02:01:01 -05:00
Sasha Koshka 794d44787d Entity now deals in UUIDs 2024-02-14 01:48:47 -05:00
Sasha Koshka 68b144a2df Loll oops 2024-02-08 02:22:57 -05:00
Sasha Koshka be314a1b79 Unify entity.Statement and entity.Expression 2024-02-08 02:22:19 -05:00
Sasha Koshka 95118a183b Relaxed unneeded rules on AST 2024-02-08 02:19:00 -05:00
Sasha Koshka 227a329538 Parse bit and value casts 2024-02-08 01:54:29 -05:00
Sasha Koshka 335060ce84 Parse length operations 2024-02-08 01:33:55 -05:00
Sasha Koshka 99d4799883 Parse slice operations 2024-02-08 01:29:16 -05:00
Sasha Koshka 50ec220d08 Remove entity participle struct tags 2024-02-05 15:17:59 -05:00
Sasha Koshka 187ed48c4f Remove entity dependency on participle 2024-02-05 15:16:11 -05:00
Sasha Koshka af73d8e251 Added module referencing to parser 2023-12-19 15:21:10 -05:00
Sasha Koshka 20db37b704 Changed my mind about brackets on break and return statements 2023-12-12 19:51:17 -05:00
sashakoshka 67eb74c66e Ditch brackets around break and return statements 2023-12-01 01:53:33 -05:00
sashakoshka c24113ba51 Add length to analyzer and parser 2023-11-30 02:05:32 -05:00
sashakoshka 8ce12b8a71 Removed Void as a concept 2023-10-29 14:47:28 -04:00
sashakoshka 65a32c3cdb Fix entity string conversion 2023-10-29 14:34:21 -04:00
sashakoshka e47096c219 Analyze return statement 2023-10-29 14:28:51 -04:00
sashakoshka b884978b87 Analyze break statements 2023-10-29 02:59:45 -04:00
sashakoshka 2a5ffb12a1 Location expressions 2023-10-24 21:54:59 -04:00
sashakoshka bec91323b9 Added analysis for numerous types of expressions 2023-10-24 18:29:33 -04:00
sashakoshka 5a48415bd5 I forgor 2023-10-24 01:34:58 -04:00
sashakoshka 84f76f8ba4 WIP expression analysis type checking 2023-10-19 19:13:55 -04:00
sashakoshka 13d281388a New syntax for method calls
This will free up the '::' token for namespace/module access. Exciting!
2023-10-19 17:19:23 -04:00
sashakoshka f65f9e042c Implement custom lexer FINALLY 2023-10-18 00:48:35 -04:00
sashakoshka a77b281979 Updated design document 2023-10-03 18:38:15 -04:00
sashakoshka 97bbf048c3 Replace cast and bitcast with ~ and ~~ respectively 2023-10-03 18:20:04 -04:00
sashakoshka c9e7390f06 Added scope information to some entities 2023-09-23 00:48:50 -04:00
sashakoshka 57e41e48ff Ok now slices actually 2023-09-22 00:58:06 -04:00
sashakoshka 53c0bb7171 Added slicing operation 2023-09-21 17:26:40 -04:00
sashakoshka 5b0e9e53cc Added slices because of how extremely important they are 2023-09-21 17:04:53 -04:00