Skip to content

Declarations

Julian Oppermann edited this page Nov 17, 2022 · 8 revisions

CoreDSL 2 supports C-like declarations and initializations. Additionally, attributes may be present to augment an object. Unitialized variables have an undefined value.

Inside architectural_state sections, specific forms of declarations are recognized as registers, address spaces, aliases and parameters, based on the presence of storage class specifiers such as register, extern and volatile. These keywords are only valid in the architectural state sections, and prohibited elsewhere in the language.

Clone this wiki locally