On this page ...
Creating the Metamodel
The metamodel, or abstract syntax tree (AST), of the language is described in files with the extension .ast.
All files with this extension in the defs folder (i.e. the folder where you keep your definition files)
are combined into one AST definition.
Every Language has a Name
Every AST file must start with the declaration of the name of your language. This name is used to form the names of several generated TypeScript classes.
// Insurance/src/defs/language-main.ast#L1-L2
language InsuranceModel
The Freon language structure consists of a single Model and the following elements:
Each of these will be explained in the next section.