summaryrefslogtreecommitdiff
path: root/test.q
AgeCommit message (Collapse)Author
2024-11-07[compiler] Parse return statementsmainQuinn Stephens
Laid groundwork for statements and AST trees. Currently return values are not supported, expression parsing must be implemented first. Also stopped dumping parsed type definitions. Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-03[compiler] Parse and print procedure declarationsQuinn Stephens
Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-02[tests] Conform to OSMORA styleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-11-02[parser] Improve error handlingQuinn Stephens
parse_enum() and parse_struct() now free all allocated memory in case of an error. They also no longer allow the type to be registered if an error occurs. parse_type() no longer allows/requires semicolons after enum/struct definitions. Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-02More type parsingQuinn Stephens
Signed-off-by: Quinn Stephens <quinn@osmora.org>
2024-11-01Import quark sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>