Closed AtomCrafty closed 2 years ago
Depends on #17
This PR rewrites the grammar for type specifiers and introduces a proper hierarchy. Nonsense types like unsigned float<17> or double char char are no longer syntactically valid.
unsigned float<17>
double char char
previous hierarchy:
TypeSpecifier PrimitiveType CompositeType EnumType
new hierarchy:
TypeSpecifier ValueTypeSpecifier PrimitiveTypeSpecifier IntegerTypeSpecifier FloatTypeSpecifier BoolTypeSpecifier CompositeTypeSpecifier EnumTypeSpecifier VoidTypeSpecifier
Depends on #17
This PR rewrites the grammar for type specifiers and introduces a proper hierarchy. Nonsense types like
unsigned float<17>
ordouble char char
are no longer syntactically valid.previous hierarchy:
new hierarchy: