Commit Graph

20 Commits

Author SHA1 Message Date
Sasha Koshka e067483942 Updated phrase terminology 2022-10-25 00:02:24 -04:00
Sasha Koshka 6dfde851e5 Add cast phrase kind to parser 2022-10-18 23:32:15 -04:00
Sasha Koshka b92a3dcba3 Privated parsingOperation 2022-10-11 23:57:27 -04:00
Sasha Koshka 94967d25e2 Removed let phrases
We don't need them anymore
2022-09-29 02:37:14 -04:00
Sasha Koshka 4228d2b4cf Operators can no longer be arguments 2022-09-27 14:48:05 -04:00
Sasha Koshka 85f97189ac Cleaned up phrase parsing a bit 2022-09-17 12:30:56 -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 ef9d518032 Renamed returnsTo to returnees 2022-09-05 11:49:19 -04:00
Sasha Koshka 1274eeb400 Parser now uses new equal signs 2022-09-03 20:32:27 -04:00
Sasha Koshka bf2839508d Set phrase initiailzation values are now parsed correctly 2022-09-03 16:37:36 -04:00
Sasha Koshka c6428f6f8e Blocks under phrases are parsed according to phrase kind 2022-09-03 16:28:36 -04:00
Sasha Koshka ac548bf438 `loc` will be the referencing "operator" 2022-09-03 16:24:13 -04:00
Sasha Koshka 48f72e614b parsePhraseCommand also generates a phrase kind value 2022-09-03 16:06:29 -04:00
Sasha Koshka 977ecba78c The entirety of phrase command parsing is in one function
This function is also responsible for setting a kind attribute on
the phrase. This will make the semantic analyzer's job easier.
2022-09-03 15:49:47 -04:00
Sasha Koshka 7bde082f36 Switch cases are parsed now 2022-09-03 15:38:57 -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 837b1c76a4 Parser is more restrictive of phrase commands 2022-09-03 13:19:47 -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