12755d3f85
Enum analysis works
2022-10-13 18:48:38 -04:00
a1faf68cce
Untested enum analysis
2022-10-13 18:02:35 -04:00
561e893327
Fixed test case to include new stuff
2022-10-13 02:26:05 -04:00
b8693af68b
Added some permission checks
2022-10-13 02:20:47 -04:00
ae50fab159
Small parser and ToString fixes
2022-10-13 00:18:32 -04:00
3662b2e298
Fixed type section parsing at EOF
2022-10-12 14:21:19 -04:00
150fc0dd4a
Error when something inherits a non-existent type
2022-10-12 13:06:59 -04:00
746fda6843
No we don't want that
2022-10-11 11:15:16 -04:00
56a3ca509a
Rewrote func test case
2022-10-11 11:12:37 -04:00
c7e6c9299a
Removed runes from the test case
2022-10-04 17:13:08 -04:00
b6d3c04acd
Removed runes from parser
2022-10-04 17:07:31 -04:00
c42f4f46fc
Removed excess data in rune test case
2022-10-04 16:51:53 -04:00
7af98d1c6f
Removed rune literals from analyzer
2022-10-04 16:35:00 -04:00
07540e0abc
Added more stuff to type test case
2022-10-01 17:12:43 -04:00
ed4c9aa0d2
Iterator actually advances now
2022-09-29 17:34:51 -04:00
2ceb3f8174
Interfaces get parsed properly (i think)
2022-09-29 15:45:25 -04:00
4811ea5257
Wrote interface test case
2022-09-29 11:28:12 -04:00
51428e3755
Pass skim test
2022-09-29 11:15:58 -04:00
94967d25e2
Removed let phrases
...
We don't need them anymore
2022-09-29 02:37:14 -04:00
5f0e4697b5
Made some updates to func test case
2022-09-29 02:18:47 -04:00
f4c079786b
Made data test cases consistent with eachother
2022-09-27 18:46:17 -04:00
cd9de16338
Removed previous code from type-notation.go
2022-09-27 15:48:47 -04:00
873d6c89b1
Rewrote parser test case input files
2022-09-27 14:17:41 -04:00
7cf797af26
Added analyzeTypeSection method
2022-09-18 02:41:06 -04:00
744e8de794
Added ToString for SectionTable
2022-09-17 23:29:11 -04:00
a492622e30
Edited func section test case
2022-09-17 12:07:39 -04:00
bd25006897
Fixed some errors that cropped up in the data section test
2022-09-17 11:50:27 -04:00
ec21a1d05e
oopsie hehe
2022-09-17 01:01:30 -04:00
b260d9424a
Introducing new enum syntax
2022-09-17 00:58:08 -04:00
2f26e63354
Reinstated those two lines in the data section test
2022-09-16 23:01:32 -04:00
2a1e8c5df7
Implemented parsing bit width
2022-09-16 22:48:24 -04:00
302ff76a8a
Rewrote type section test case
2022-09-16 22:45:08 -04:00
e123e97357
Type attributes can have whitespace before them
...
By type attributes I mean things like :mut :N :<defaultValue>.
After the colon and before the attribute, whitespace is now
permitted. This makes syntax like
data ro nIntegerArrayInitialized:Int:16:mut:
<3948 293 293049 948 912
340 0 2304 0 4785 92>
possible.
2022-09-16 22:22:07 -04:00
eaeba12fbe
Removed old things from tree-tostring.go
2022-09-15 15:10:52 -04:00
558542127d
Among impostor
2022-09-14 15:16:56 -04:00
42a51477ec
Added ( and ) tokens
2022-09-13 17:04:43 -04:00
0af08a4d24
Merged objt and type test cases
2022-09-11 15:35:07 -04:00
362b904900
Rewrote test cases with new syntax
2022-09-11 10:52:53 -04:00
7e972e2132
Syntax tree now stores map of require names -> full paths
2022-09-07 17:12:46 -04:00
d4d7c03830
Function output default values are skimmed over
2022-09-05 15:13:27 -04:00
cc1eaa2c11
Add test case for skimming
2022-09-05 14:52:37 -04:00
2295e3bd32
Data sections can now be marked as external
2022-09-05 14:09:47 -04:00
51def46d91
Updated other test cases and examples to match
2022-09-05 11:35:32 -04:00
0b71ab8787
Added test case with multiple type qualifiers
2022-09-05 11:23:16 -04:00
7731fa86a1
Updated test case for new syntax
2022-09-05 11:12:55 -04:00
1274eeb400
Parser now uses new equal signs
2022-09-03 20:32:27 -04:00
cc14292c63
Added equals assignment operator
...
The set phrase will be removed and just replaced with a single
equals sign. Double equals will be used for comparison. This will
be much easier to understand.
2022-09-03 20:23:27 -04:00
6446cbfafc
The test case was wrong
2022-09-03 20:07:25 -04:00
ac548bf438
loc
will be the referencing "operator"
2022-09-03 16:24:13 -04:00
7bde082f36
Switch cases are parsed now
2022-09-03 15:38:57 -04:00