Commit Graph
79 Commits
Author SHA1 Message Date
Sasha Koshka b6edaa0814 entity.Key now has an optional method field 2024-02-19 12:05:13 -05:00
Sasha Koshka 33b6414647 Move Key to Entity 2024-02-19 11:41:36 -05:00
Sasha Koshka f5bae2c231 Analyzer does not allow value casting of restricted types 2024-02-16 23:52:52 -05:00
Sasha Koshka 1c6e179f0a Entity now stores unit and access information for types 2024-02-16 13:30:15 -05:00
Sasha Koshka d2cb1f78c4 Fix behavior of Tree.analyzeMethodOrBehavior() 2024-02-16 12:43:42 -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 89500ec5ef Add module names to top level entities 2024-02-13 21:36:08 -05:00
Sasha Koshka a4b60a5eff Metadata is now an entity 2024-02-13 20:53:15 -05:00
Sasha Koshka a9d470d46a Metadata is now an entity 2024-02-13 20:52:25 -05:00
Sasha Koshka a240e26776 Add method of entity.Address to generate a nickname 2024-02-13 19:10:24 -05:00
Sasha Koshka 81bef17d6f Add some utility methods to entity.Address 2024-02-13 17:29:42 -05:00
Sasha Koshka b4adef7a1c Nickname is no longer a type 2024-02-13 16:20:45 -05:00
Sasha Koshka c68b3ab4c1 Add Directive interface 2024-02-13 16:03:07 -05:00
Sasha Koshka 364141ad0d Add metadata entities 2024-02-13 13:29:30 -05:00
Sasha Koshka 3662bda3a8 Add entity.FormatType() 2024-02-12 14:34:49 -05:00
Sasha Koshka 9bb10ef00d Completed doc comments in entity 2024-02-09 01:11:24 -05:00
Sasha Koshka ba52a2df2e Change interface prefix from ? to ~
? will eventually be used in place of * to denote an optional
pointer, and ~ already means "approximation", which works well for
a polymorphic data structure.
2024-02-08 04:10:11 -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 de1f873929 Struct literals print correctly 2024-02-08 00:56:43 -05:00
Sasha Koshka e9348ea58f Added string constructor for entity.Operator 2024-02-08 00:29:24 -05:00
Sasha Koshka 4a3e06362d What crack was I smoking when I made LiteralNil.Value 2024-02-07 15:46:42 -05:00
Sasha Koshka ed239aabb9 Remove entity.Boolean because I have overcome my haters 2024-02-07 15:41:48 -05:00
Sasha Koshka f8399612f6 De-ambiguify interface and struct type syntax 2024-02-07 03:02:16 -05:00
Sasha Koshka 66f0e2d8d9 Un-participle-ify entity.Access 2024-02-06 02:27:09 -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 10fb780e50 Nitpick 2024-01-27 08:26:46 +00:00
Sasha Koshka 6de2a9d37d Change restricted access modifier to tilde (~) 2024-01-27 07:42:13 +00:00
Sasha Koshka 3cca2dd130 Added nil (zero initializer) literals 2023-12-21 23:33:38 -05:00
Sasha Koshka eeae7ac1ed Generator can produce link names 2023-12-20 03:05:27 -05:00
Sasha Koshka af73d8e251 Added module referencing to parser 2023-12-19 15:21:10 -05:00
Sasha Koshka 308efbbd5e Add access specifiers and link names to parser 2023-12-17 11:23:42 -05:00
Sasha Koshka ae60aa173e Made the type checker a tad more robust 2023-12-15 13:23:37 -05:00
Sasha Koshka 20db37b704 Changed my mind about brackets on break and return statements 2023-12-12 19:51:17 -05:00
sashakoshka e470fb1f5c Generator alloca's variables when they are defined 2023-12-07 02:48:27 -05:00
sashakoshka 3b6aa7fffb String literals can be assigned to strings now 2023-12-02 22:45:22 -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
Sasha Koshkaandsashakoshka 9808fc0e7c Added string literal to analyzer 2023-11-26 17:27:31 -05:00
sashakoshka 905522af56 Added string literal to parser 2023-11-26 05:16:40 -05:00
sashakoshka 3a751666ba Fixed scope OverVariables stopping immediately 2023-11-26 04:01:55 -05:00
sashakoshka ff9fdfeab0 Slight modifications to analyzer 2023-11-21 15:04:01 -05:00
sashakoshka 5e4d2a32e4 Pass all analyzer tests 2023-11-04 17:59:04 -04:00