type-section-rework #6

Merged
sashakoshka merged 46 commits from type-section-rework into main 2022-09-17 10:36:27 -06:00
Owner

This implements a new, more flexible syntax for defining and setting the default values of types. This syntax should be treated as somewhat temporary, but the underlying structure of the tree that results from this new syntax should be treated as somewhat final.

This implements a new, more flexible syntax for defining and setting the default values of types. This syntax should be treated as somewhat temporary, but the underlying structure of the tree that results from this new syntax should be treated as somewhat final.
sashakoshka added 46 commits 2022-09-17 10:36:13 -06:00
🦀🦀🦀 Object sections are gone 🦀🦀🦀 and members are now stored
in the type specifier.
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.
Data section is now passing unit test! Woo!
Type section now passes test
Parser now passes all tests
sashakoshka merged commit 844b1562c4 into main 2022-09-17 10:36:27 -06:00
sashakoshka deleted branch type-section-rework 2022-09-17 10:36:27 -06:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fspl/arf#6
No description provided.