Commit Graph

115 Commits

Author SHA1 Message Date
Sasha Koshka a50a5febb9 Untested analysis of switch statements 2024-03-25 12:08:28 -04:00
Sasha Koshka 1f04c3a593 Added switch statements, default cases to entity 2024-03-25 01:16:41 -04:00
Sasha Koshka 3cd3384006 Remove the star from array literals 2024-03-24 20:31:25 -04:00
Sasha Koshka c0476f14ae Analyze for loops 2024-03-16 13:25:53 -04:00
Sasha Koshka 197373ee27 Add breakable interface 2024-03-16 01:43:56 -04:00
Sasha Koshka 8d69e4cdd3 Fix For.String() 2024-03-15 03:02:50 -04:00
Sasha Koshka ec873ea895 Index and Element must be declarations 2024-03-15 02:50:28 -04:00
Sasha Koshka 45ab5d95a2 Add range loops to entity 2024-03-14 22:28:50 -04:00
Sasha Koshka 2be41be609 Add the cool epic to meta 2024-03-14 02:43:59 -04:00
Sasha Koshka 0a56a61f4f Only top level entities are in toplevel.go 2024-03-14 02:41:51 -04:00
Sasha Koshka fc2fb42e53 Misc entities now have Pos/Position thing going on 2024-03-14 02:40:13 -04:00
Sasha Koshka 9335841fc0 Clean up wording in type interface documentation 2024-03-14 02:37:58 -04:00
Sasha Koshka e35a576022 Add more behaviors to expression interface 2024-03-14 02:37:12 -04:00
Sasha Koshka 1c9700378c Moved key/hash stuff into its own file 2024-03-14 02:36:39 -04:00
Sasha Koshka 56b91d788f Add more methods to toplevel entities 2024-03-14 02:23:26 -04:00
Sasha Koshka a147143fc3 Missed a spot 2024-03-14 01:55:18 -04:00
Sasha Koshka a8fd79991c Renamed restricted access to opaque access 2024-03-14 01:54:22 -04:00
Sasha Koshka a9c85bf017 Changed restricted access specified from ~ to # 2024-03-14 01:42:19 -04:00
Sasha Koshka db98e590fc Change interface symbol from ~ to & 2024-03-13 23:05:58 -04:00
Sasha Koshka e0d4be8db8 Removed "in" from match statement 2024-03-13 22:44:11 -04:00
Sasha Koshka b1cef5d95f Add more semantic fields to Match and Case 2024-03-04 14:09:48 -05:00
Sasha Koshka 8fa9a579fd entity.Match.String() prints "in" instead of "on" 2024-03-04 13:36:07 -05:00
Sasha Koshka 3a1d9632dc Analyzer checks uniqueness of types in union by comparing hashes 2024-03-02 12:09:49 -05:00
Sasha Koshka bc88782938 Add Position() method to type 2024-03-02 01:26:29 -05:00
Sasha Koshka 0e2259bb45 Add match test to parser, fixed parsing and stringing of match 2024-03-01 21:44:20 -05:00
Sasha Koshka f94c562896 Added match statements to the parser
Added match statements to the parser
2024-03-01 21:36:40 -05:00
Sasha Koshka fb7558576e Add match expressions to entity 2024-03-01 21:22:32 -05:00
Sasha Koshka b40953a0ec Add TypeUnion to entity 2024-03-01 03:00:17 -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 81c4f1e46b Expressions now have HasExplicitType() 2024-02-28 18:31:46 -05:00
Sasha Koshka 1fd34731ff Metadata.String quotes UUID 2024-02-23 00:24:09 -05:00
Sasha Koshka bd4ed45a45 entity.Metadata now has String() 2024-02-23 00:18:46 -05:00
Sasha Koshka 23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
Sasha Koshka 39d584bd1b Compiler understands compiling to . 2024-02-20 01:48:18 -05:00
Sasha Koshka 07ea408d4e The compiler now compiles 2024-02-20 00:52:23 -05:00
Sasha Koshka ff18aae2b6 entity.Key now has an optional method field 2024-02-19 12:05:13 -05:00
Sasha Koshka 4166fb8817 Move Key to Entity 2024-02-19 11:41:36 -05:00
Sasha Koshka 9d009a1f64 Analyzer does not allow value casting of restricted types 2024-02-16 23:52:52 -05:00
Sasha Koshka f78a71950b Entity now stores unit and access information for types 2024-02-16 13:30:15 -05:00
Sasha Koshka 1fea25ba91 Fix behavior of Tree.analyzeMethodOrBehavior() 2024-02-16 12:43:42 -05:00
Sasha Koshka 22dc2ef175 Made wording in entity even better 2024-02-14 10:22:33 -05:00
Sasha Koshka d3d739a24d Parser and entity now refer to units as units instead of modules 2024-02-14 02:01:01 -05:00
Sasha Koshka 89b7273c2f Entity now deals in UUIDs 2024-02-14 01:48:47 -05:00
Sasha Koshka 7d32211e70 Add module names to top level entities 2024-02-13 21:36:08 -05:00
Sasha Koshka 9d70abc084 Metadata is now an entity 2024-02-13 20:53:15 -05:00
Sasha Koshka b8afa6d9c0 Metadata is now an entity 2024-02-13 20:52:25 -05:00
Sasha Koshka d117e15157 Add method of entity.Address to generate a nickname 2024-02-13 19:10:24 -05:00
Sasha Koshka c89cbc24fe Add some utility methods to entity.Address 2024-02-13 17:29:42 -05:00
Sasha Koshka 8d2d71be89 Nickname is no longer a type 2024-02-13 16:20:45 -05:00