summaryrefslogtreecommitdiff
path: root/compiler/parser/parser.c
AgeCommit message (Collapse)Author
2024-11-03[compiler] Parse and print procedure declarationsQuinn Stephens
Signed-off-by: Quinn Stephens <quinn@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>