|
The YAMI4 Definition Language contains the following syntax elements:
lowercase
.Camel_Case
with underscores separating individual words. The reason for this convention is to facilitate later mappings to particular programming languages, which have different conventions. Some identifiers, like String
, refer to standard YAMI4 types, while others, like Say_Hello
are provided by user.--
and continue till the end of line.
An important constraint is that user-provided identifiers should not conflict with keywords or reserved identifiers in the target programming language. For example, Friend
might look like a perfectly valid identifier for a record or field, but in C++ it will conflict with the keyword friend
if the selected conversion is to lowercase. The same identifier might be valid in Ada or Java. The user should take such issues into account when choosing names for his program entities.