Commit Graph

84 Commits

Author SHA1 Message Date
Sasha Koshka 1cd7511ced Add dereference to tree 2022-10-11 11:23:50 -04:00
Sasha Koshka c7e6c9299a Removed runes from the test case 2022-10-04 17:13:08 -04:00
Sasha Koshka b6d3c04acd Removed runes from parser 2022-10-04 17:07:31 -04:00
Sasha Koshka 3e1acdc74a Face test is now passed 2022-09-29 15:52:14 -04:00
Sasha Koshka 8b88e1d440 Sort ToString of requires 2022-09-29 11:06:45 -04:00
Sasha Koshka a31c975c9d Func section tostrings and parses output values properly 2022-09-29 11:02:37 -04:00
Sasha Koshka 7374de2633 Func section tostring fixes 2022-09-29 02:43:24 -04:00
Sasha Koshka 94967d25e2 Removed let phrases
We don't need them anymore
2022-09-29 02:37:14 -04:00
Sasha Koshka 011c968192 Type section now passes test 2022-09-29 02:13:22 -04:00
Sasha Koshka 23072b5476 Type members actually get ToString'd now 2022-09-29 02:10:58 -04:00
Sasha Koshka 16fe6afdff Fixed segfault in Type.ToString 2022-09-29 02:03:19 -04:00
Sasha Koshka 6c02e45e2e Untested type section parsing yay 2022-09-29 02:01:31 -04:00
Sasha Koshka 3a38465368 Fixed DataSection/TypeSection.ToString 2022-09-27 18:43:40 -04:00
Sasha Koshka 3a4ccdda10 Fixed List.ToString for non breakline 2022-09-27 18:18:38 -04:00
Sasha Koshka 37a216a53d Fixed enum parsing
I think I did anyways. It wont parse either way becasue I haven't implemented
lists.
2022-09-27 17:36:39 -04:00
Sasha Koshka 26f887dfcc tree-tostring is free of compiler errors 2022-09-27 16:13:02 -04:00
Sasha Koshka 77acfd1cf2 Fixed func ToString and test case 2022-09-17 12:22:17 -04:00
Sasha Koshka 49eb7f9b9d Removed FuncOutput from the tree 2022-09-17 12:12:04 -04:00
Sasha Koshka b76cb30d94 Fixed bug with identifier parsing 2022-09-17 02:07:50 -04:00
Sasha Koshka b260d9424a Introducing new enum syntax 2022-09-17 00:58:08 -04:00
Sasha Koshka f1cd9856ea Fixed TypeMember.ToString
Type section now passes test
2022-09-16 22:54:26 -04:00
Sasha Koshka ac0444bcc9 DataSection.ToString prints external specifier
Data section is now passing unit test! Woo!
2022-09-16 22:37:43 -04:00
Sasha Koshka aff5b1749c Various ToString fixes 2022-09-16 22:35:55 -04:00
Sasha Koshka a6af1d5121 Made ToString for type notations actually work properly 2022-09-16 18:16:51 -04:00
Sasha Koshka 5b627f8995 wow it hangs 2022-09-16 12:16:23 -04:00
Sasha Koshka 2111960f6d ToString for type notation might be done now? 2022-09-16 12:00:16 -04:00
Sasha Koshka 319b60bfcd not tryna work on this on my laptop rn 2022-09-15 22:43:02 -04:00
Sasha Koshka eaeba12fbe Removed old things from tree-tostring.go 2022-09-15 15:10:52 -04:00
Sasha Koshka df1636e8fa tree-tostring.go compiles 2022-09-15 14:58:50 -04:00
Sasha Koshka 767bf81b85 Lobbotomized the codebase 2022-09-13 16:31:08 -04:00
Sasha Koshka ba3825287d Removed the horrendus "ArgumentKindObjectInitializationValues" name 2022-09-13 11:09:41 -04:00
Sasha Koshka 389c9a313c Function section ouputs now print complex initialization values 2022-09-13 11:02:24 -04:00
Sasha Koshka dbd0eb570d Did some ToString stuff 2022-09-12 15:27:29 -04:00
Sasha Koshka 2295e3bd32 Data sections can now be marked as external 2022-09-05 14:09:47 -04:00
Sasha Koshka ef9d518032 Renamed returnsTo to returnees 2022-09-05 11:49:19 -04:00
Sasha Koshka 98a88b71be Updated tree and accessor semantics 2022-09-05 11:20:23 -04:00
Sasha Koshka 031907a6e0 Updated data ToString 2022-09-05 11:13:16 -04:00
Sasha Koshka 7af575e865 Added TypeKindVariableArray 2022-09-04 22:27:06 -04:00
Sasha Koshka 691df94ef4 Removed many cringe pass-by-references 2022-09-04 19:55:47 -04:00
Sasha Koshka f3c72f8f30 The section kind specific maps are gone
I've REPLACED IT with the unified sections map. Interfaces, baby!
2022-09-04 19:30:59 -04:00
Sasha Koshka 899f4815bc Did the same thing with default values 2022-09-04 03:31:35 -04:00
Sasha Koshka ef375810fb Did the same thing with type specifiers 2022-09-03 22:56:08 -04:00
Sasha Koshka 1274eeb400 Parser now uses new equal signs 2022-09-03 20:32:27 -04:00
Sasha Koshka 9fb75e0228 Function output default values are ToString'd 2022-09-03 19:49:08 -04:00
Sasha Koshka 16e06aacb8 Set phrase initialization values ToString correctly 2022-09-03 19:24:09 -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 257d22b6f7 Parser no longer skips token after an argument level phrase 2022-09-03 12:54:41 -04:00
Sasha Koshka f592e1cc43 Properly ToString'd operator phrase commands 2022-09-03 11:43:02 -04:00
Sasha Koshka 689200085a Putting pointers in interfaces is incredibly stupid 2022-09-03 00:01:01 -04:00