Commit Graph

27 Commits

Author SHA1 Message Date
Sasha Koshka b92a3dcba3 Privated parsingOperation 2022-10-11 23:57:27 -04:00
Sasha Koshka a31c975c9d Func section tostrings and parses output values properly 2022-09-29 11:02:37 -04:00
Sasha Koshka 290f8799cf Parser parses function outputs 2022-09-29 02:29:35 -04:00
Sasha Koshka 49eb7f9b9d Removed FuncOutput from the tree 2022-09-17 12:12:04 -04:00
Sasha Koshka 767bf81b85 Lobbotomized the codebase 2022-09-13 16:31:08 -04:00
Sasha Koshka 21ea27791d Removed the last traces of the word "initialization" 2022-09-13 11:12:38 -04:00
Sasha Koshka d4d7c03830 Function output default values are skimmed over 2022-09-05 15:13:27 -04:00
Sasha Koshka d6db27ccb6 Function root blocks are now skimmed over 2022-09-05 15:06:22 -04:00
Sasha Koshka 691df94ef4 Removed many cringe pass-by-references 2022-09-04 19:55:47 -04:00
Sasha Koshka 899f4815bc Did the same thing with default values 2022-09-04 03:31:35 -04:00
Sasha Koshka 3f7c779e2b Got rid of useless setters for the traits 2022-09-03 22:58:35 -04:00
Sasha Koshka 729ae78eae Location is now included in structs via composition 2022-09-03 22:17:05 -04:00
Sasha Koshka bcd44828dc Blocks under control flow phrases now parse
... except for switch cases. This will be added momentarily.
2022-09-03 15:22:18 -04:00
Sasha Koshka de7234f4d7 Parsing return direction works 2022-09-03 13:14:38 -04:00
Sasha Koshka 0872eb51a1 Separated phrase parsing into its own file 2022-09-03 11:37:07 -04:00
Sasha Koshka 1efd77acfe Partially implemented operator phrase commands 2022-09-03 11:34:13 -04:00
Sasha Koshka c2a8c4cd97 Added new token kind slices to func.go 2022-09-03 00:40:56 -04:00
Sasha Koshka eee50dc9b0 Added argument level phrase parsing 2022-09-02 22:43:48 -04:00
Sasha Koshka 44021fe875 Added some primitive phrase parsing 2022-09-02 22:37:52 -04:00
Sasha Koshka ed44795664 Lexer now rejects strange chars in integer literals 2022-09-02 01:37:58 -04:00
Sasha Koshka ac7074a819 Added support for "external" keyword 2022-09-02 01:25:22 -04:00
Sasha Koshka 08f111ccbf Various fixes to function parsing
- Newlines are handled better
- Types are actually parsed
2022-09-01 22:10:57 -04:00
Sasha Koshka bcb1b9b6d2 parseFuncSection calls parseFuncArguments now 2022-09-01 21:43:56 -04:00
Sasha Koshka 8d46188f6c Throw an error on malformed func arguments list 2022-09-01 17:55:57 -04:00
Sasha Koshka 5371c0eeae Added untested parsing of function arguments 2022-09-01 17:42:56 -04:00
Sasha Koshka 65c213f1f3 Fixed import paths 2022-08-30 01:11:10 -04:00
Sasha Koshka c3b6330b22 Added base function parsing 2022-08-25 20:01:12 -04:00