Commit Graph

28 Commits

Author SHA1 Message Date
Sasha Koshka a5b1385012 Some error message tweaks 2022-10-16 02:58:31 -04:00
Sasha Koshka dd29f69213 Added methods to check if a type is a number 2022-10-13 20:52:49 -04:00
Sasha Koshka 12755d3f85 Enum analysis works 2022-10-13 18:48:38 -04:00
Sasha Koshka bfdca9ed16 Ok yeah there I fixed it 2022-10-13 16:11:12 -04:00
Sasha Koshka 5463435fae Untested rules for pulling types from other section kinds 2022-10-13 15:08:47 -04:00
Sasha Koshka d5687d7b0e Uhhh 2022-10-13 13:30:11 -04:00
Sasha Koshka aaf268d0d1 Permissions of sections in other modules are respected 2022-10-12 15:48:22 -04:00
Sasha Koshka 5d27befb6f Fixed require paths
Previously, relative require paths would be resolved based on the
current working directory. They are now resolved based on the path
of the module.
2022-10-12 13:11:36 -04:00
Sasha Koshka 150fc0dd4a Error when something inherits a non-existent type 2022-10-12 13:06:59 -04:00
Sasha Koshka 89b432c6fd Privated analysisOperation 2022-10-11 23:53:38 -04:00
Sasha Koshka 1924892ab6 Fixed isSingular 2022-10-11 23:51:55 -04:00
Sasha Koshka 7581541ff5 Added a locatable node trait 2022-10-11 18:31:37 -04:00
Sasha Koshka cd670d05c5 Made node traits file for semantic table nodes 2022-10-11 18:12:53 -04:00
Sasha Koshka d74f3a40dd Errors encountered while analyzing are no longer ignored 2022-10-11 17:13:37 -04:00
Sasha Koshka 41724a7e03 Added untested type mismatch error reporting thing 2022-10-11 17:04:18 -04:00
Sasha Koshka 020833c4c6 Added isSingular to method (this is cool) 2022-10-11 16:20:12 -04:00
Sasha Koshka b8c57d5a56 StringLiteral.canBePassedAs allows variable arrays 2022-10-11 15:09:44 -04:00
Sasha Koshka 5c286cf955 Added some useful type checking thigns to literals 2022-10-04 16:19:26 -04:00
Sasha Koshka 47cb89206a Analyzer now understands type section default values 2022-09-30 00:04:28 -04:00
Sasha Koshka d117e2727c Analyzer attempts to find the source of types 2022-09-29 22:54:32 -04:00
Sasha Koshka 1300f87cb5 when you 2022-09-29 20:28:51 -04:00
Sasha Koshka bb4a5472e1 Less gooooo! 2022-09-29 18:09:52 -04:00
Sasha Koshka ed4c9aa0d2 Iterator actually advances now 2022-09-29 17:34:51 -04:00
Sasha Koshka 25cc74a6d9 ??? the 2022-09-22 13:19:23 -04:00
Sasha Koshka b3ebd7a259 Stub for analyzing type specifiers 2022-09-20 11:01:56 -04:00
Sasha Koshka 3a5086ad33 Moved type sections into a dedicated file 2022-09-17 23:36:59 -04:00
Sasha Koshka 3635eef15a Some ToString functionality 2022-09-10 19:50:18 -04:00
Sasha Koshka b3e2d9f822 Progress on data structures for type sections
Type specifiers will now store a list of members, instead of
type sections doing that. This will make it possible to do an
inline object definition within a data section, = phrase, etc.

The parser will be reworked to include syntax that supports this,
objects and types will be merged into just a type section, and
face sections will have the added capability of defining function
pointer types.
2022-09-09 20:57:41 -04:00