Additional Lexical Specifications
Additional keywords and identifiers.
- Metavariables
_chunks,_exp,_lvalueand_nametyare metavariables. These keywords are used to plug an existing AST into an input to be parsed. There is a keyword per type of pluggable AST (list of declarations, expression, l-value, type name).- Reserved identifiers
They start with an underscore, and use the same letters as standard identifiers. These symbols are used internally by the compiler to name or rename entities. Note that
_mainis still a valid identifier, not a reserved one.reserved-id = "_" { letter | digit | "_" }
_castIt is a reserved identifier used internally by TC-B, Array bounds checking to cast an expression or an l-value to a given type.