Next: Expressions, Previous: Subint, Up: Types and Expressions [Contents][Index]
int types introduced
extern data types can be defined. An
data type is defined as follows:
extern ::= "extern" identifier data-expression ";" data-expression ::= "$" (!"$")* "$"
data-expression is a type expression in the target
No Dezyne-supported expressions are available for data types, apart from
data-expressions. The content of the data-expression is passed
to the target language verbatim.
For example, a
C++ string type could be defined as follows:
extern string $std::string$;