C Code Syntax and usage of the additional C code section. Defining Language Semantics Value Type Specifying one data type for all semantic values. Multiple Types Specifying several alternative data types. An action is the semantic definition of a grammar rule. Action Types Specifying data types for actions to operate on.
Most actions go at the end of a rule.
This says when, why and how to use the exceptional action in the middle of a rule. Declaring terminal symbols. Precedence Decl Declaring terminals with precedence and associativity. Union Decl Declaring the set of all semantic value types. Type Decl Declaring the choice of type for a nonterminal symbol.