2111960f6d
ToString for type notation might be done now?
2022-09-16 12:00:16 -04:00
319b60bfcd
not tryna work on this on my laptop rn
2022-09-15 22:43:02 -04:00
eaeba12fbe
Removed old things from tree-tostring.go
2022-09-15 15:10:52 -04:00
df1636e8fa
tree-tostring.go compiles
2022-09-15 14:58:50 -04:00
767bf81b85
Lobbotomized the codebase
2022-09-13 16:31:08 -04:00
ba3825287d
Removed the horrendus "ArgumentKindObjectInitializationValues" name
2022-09-13 11:09:41 -04:00
389c9a313c
Function section ouputs now print complex initialization values
2022-09-13 11:02:24 -04:00
dbd0eb570d
Did some ToString stuff
2022-09-12 15:27:29 -04:00
2295e3bd32
Data sections can now be marked as external
2022-09-05 14:09:47 -04:00
ef9d518032
Renamed returnsTo to returnees
2022-09-05 11:49:19 -04:00
98a88b71be
Updated tree and accessor semantics
2022-09-05 11:20:23 -04:00
031907a6e0
Updated data ToString
2022-09-05 11:13:16 -04:00
7af575e865
Added TypeKindVariableArray
2022-09-04 22:27:06 -04:00
691df94ef4
Removed many cringe pass-by-references
2022-09-04 19:55:47 -04:00
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
899f4815bc
Did the same thing with default values
2022-09-04 03:31:35 -04:00
ef375810fb
Did the same thing with type specifiers
2022-09-03 22:56:08 -04:00
1274eeb400
Parser now uses new equal signs
2022-09-03 20:32:27 -04:00
9fb75e0228
Function output default values are ToString'd
2022-09-03 19:49:08 -04:00
16e06aacb8
Set phrase initialization values ToString correctly
2022-09-03 19:24:09 -04:00
7bde082f36
Switch cases are parsed now
2022-09-03 15:38:57 -04:00
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
257d22b6f7
Parser no longer skips token after an argument level phrase
2022-09-03 12:54:41 -04:00
f592e1cc43
Properly ToString'd operator phrase commands
2022-09-03 11:43:02 -04:00
689200085a
Putting pointers in interfaces is incredibly stupid
2022-09-03 00:01:01 -04:00
dbbe0198d5
Phrases in functions are now ToString'd
2022-09-02 23:38:30 -04:00
fccb67e5c0
Added basic func section ToString
2022-09-02 02:36:14 -04:00
Sasha Koshka
067bf2f4df
Altered tree so that object members are stored in an array
2022-08-24 20:09:57 -04:00
c470997887
Did the same thing to interfaces
2022-08-24 18:57:07 -04:00
e316eb7791
Changed bit field syntax to use an & symbol
2022-08-24 18:37:44 -04:00
fb43f96acc
Added bit fields to tree and ToString for object member
2022-08-24 18:22:47 -04:00
Sasha Koshka
0d366964ca
Enum members are now ordered
2022-08-24 01:16:44 -04:00
Sasha Koshka
0b80a55f79
Repaired output formatting of interface section
2022-08-24 00:53:42 -04:00
Sasha Koshka
1f88b54eaa
Face sections are actually ToString'd now
2022-08-23 22:25:21 -04:00
3ef1e706b3
Added ToString method to face section
2022-08-23 13:54:44 -04:00
Sasha Koshka
5dcf3b3d1a
Fixed ToString formatting of enum
2022-08-23 01:33:28 -04:00
Sasha Koshka
d8074fa5cb
Enum default values are now parsed properly
...
Previously the parser would stay on the member name and parse it the default
value. It now moves forward and catches the actual default value.
2022-08-23 01:30:56 -04:00
Sasha Koshka
59126f60cc
Added enum sections to tree
2022-08-21 02:40:04 -04:00
Sasha Koshka
0ceaedbcd8
Object sections now ToString properly
2022-08-20 13:42:09 -04:00
Sasha Koshka
fc1568aece
Updated ToString methods to match new tree structure
2022-08-20 12:40:44 -04:00
Sasha Koshka
9b4279c052
Fixed ToString of type nodes
2022-08-19 03:03:36 -04:00
Sasha Koshka
19d0b3f455
Complex default values of type nodes now ToString properly
2022-08-19 02:36:56 -04:00
Sasha Koshka
69aaae8f14
Restructured type definitions to use a node tree
2022-08-18 23:38:32 -04:00
Sasha Koshka
ef90115a1b
Fixed some test case formatting
2022-08-18 20:09:04 -04:00
Sasha Koshka
cced825f74
Changed this one thing to the other thing
2022-08-18 19:40:35 -04:00
Sasha Koshka
9fd3fb1263
Added basic ToString method to TypeSection
2022-08-18 17:45:34 -04:00
Sasha Koshka
63110d9a32
Removed bad spacing in ObjectInitializationValues.ToString
...
If a value had more initialzation values inside of it, it would leave a space
before the newline. This was causing the parser test to believe the parser to be
failing. The parser now passes the test.
2022-08-17 19:40:16 -04:00
Sasha Koshka
98fb4e9c66
In ToString methods, maps are sorted alphabetically before output
...
This makes the output of ToString methods deterministic, and as such they can be
used for testing.
2022-08-17 13:50:33 -04:00
Sasha Koshka
7bb6582e01
Added default nil argument kind
2022-08-17 01:07:12 -04:00
Sasha Koshka
0ad1c0b2f4
Fixed extraneous newlines after complex initialization values
2022-08-17 01:04:52 -04:00