| # Annex D: Default Lexical Token Reference |

This annex contains the textual representation form used throughout source text examples in this document. They are taken from current implementations, but this document explicitly specifies that this is not necessarily the only textual form.

#### Language Keywords

Abstract_SY | = | "abstract" |  | Assert_SY | = | "assert" |  | Attr_SY | = | "attr"
Bind_SY | = | "bind" |  | Case_SY | = | "case" |  | Class_SY | = | "class"
Constant_SY | = | "const" |  | Do_SY | = | "do" |  | Else_SY | = | "else"
Elsif_SY | = | "elsif" |  | End_SY | = | "end" |  | External_SY | = | "external"
Fork_SY | = | "fork" |  | Guard_SY | = | "guard" |  | If_SY | = | "if"
Immutable_SY | = | "immutable" |  | Include_SY | = | "include" |  | Inout_SY | = | "inout"
Is_SY | = | "is" |  | Iter_SY | = | "ITER" |  | Library_SY | = | "library"
Lock_SY | = | "lock" |  | Loop_SY | = | "loop" |  | Once_SY | = | "once"
Out_SY | = | "out" |  | Parallel_SY | = | "par" |  | Parloop_SY | = | "parloop"
Partial_SY | = | "partial" |  | Post_SY | = | "post" |  | Pre_SY | = | "pre"
Private_SY | = | "private" |  | Protect_SY | = | "protect" |  | Quit_SY | = | "quit"
Raise_SY | = | "raise" |  | Readonly_SY | = | "readonly" |  | Return_SY | = | "return"
Routine_SY | = | "ROUT" |  | Same_Type_SY | = | "SAME" |  | Shared_SY | = | "shared"
Stub_SY | = | "stub" |  | Synchronise_SY | = | "sync" |  | Then_SY | = | "then"
Typecase_SY | = | "typecase" |  | Unlock_SY | = | "unlock" |  | When_SY | = | "when"
With_SY | = | "with" |  | Yield_SY | = | "yield" |  |  |  |

NOTE | The entry in the above table shown in red is a proposed amendment to the language to provide facilities for named libraries. It is not implemented in current compilers.

#### Required Symbols

At_SY | = | "@" |  | Bar_SY | = | "|" |  | Colon_SY | = | ":"
Comma_SY | = | "," |  | Do_Attach_SY | = | ":-" |  | Fullstop_SY | = | "."
Left_Angle_Bracket_SY | = | "<" |  | Left_Brace_SY | = | "{" |  | Left_Bracket_SY | = | "["
Left_Parenthesis_SY | = | "(" |  | Rename_SY | = | "->" |  | Right_Angle_Bracket_SY | = | ">"
Right_Brace_SY | = | "}" |  | Right_Bracket_SY | = | "]" |  | Right_Parenthesis_SY | = | ")"
Semicolon_SY | = | ";" |  |  |  |  |  |  |  |

#### Operator Symbols

##### Unary Operator Symbols

Negate_Op_SY | = | "-" |  | Not_Op_SY | = | "~" |  | Number_SY | = | "#"

##### Binary Operator Symbols

And_SY | = | "and" |  | Assign_Op_SY | = | ":=" |  | Divide_Op_SY | = | "/"
Equal_Op_SY | = | "=" |  | GEq_Op_SY | = | ">=" |  | Greater_Op_SY | = | ">"
LEq_Op_SY | = | "<=" |  | Less_Op_SY | = | "<" |  | Minus_Op_SY | = | "-"
Modulus_Op_SY | = | "%" |  | NEq_Op_SY | = | "/=" |  | Or_SY | = | "or"
Plus_Op_SY | = | "+" |  | Power_Op_SY | = | "^" |  | Times_Op_SY | = | "*"

#### Pervasive Names & Identifiers

##### Identifiers

Aget_SY | = | "aget" |  | Aset_SY | = | "aset" |  | Assign_SY | = | "assign"
Div_SY | = | "div" |  | Exception_SY | = | "exception" |  | Far_SY | = | "far"
Here_SY | = | "here" |  | Initial_SY | = | "initial" |  | Is_Eq_SY | = | "is_eq"
Is_Lt_SY | = | "is_lt" |  | Minus_SY | = | "minus" |  | Mod_SY | = | "mod"
Near_SY | = | "near" |  | Negate_SY | = | "negate" |  | New_SY | = | "new"
Not_SY | = | "not" |  | Plus_SY | = | "plus" |  | Pow_SY | = | "pow"
Result_SY | = | "result" |  | Self_SY | = | "self" |  | Times_SY | = | "times"
Is_Void_SY | = | "void" |  | Where_SY | = | "where" |  |  |  |

##### Abstract Names

Abs_Lock_SY | = | "LOCK" |  | Attach_SY | = | "ATTACH" |  | Object_SY | = | "OB"
Reference_SY | = | "REFERENCE" |  |  |  |  |  |  |  |

##### Iter Names

Break_SY | = | "break" |  | Cluster_SY | = | "cluster" |  | Until_SY | = | "until"
While_SY | = | "while" |  |  |  |  |  |  |  |

#### Literal Values

Bitset_SY | = | "setbit" |  | Bitclear_SY | = | "clearbit" |  | True_SY | = | "true"
False_SY | = | "false" |  | Void_SY | = | "void" |  |  |  |

#### Digit & Text Specials

Double_Quote_SY | = | """ |  | Single_Quote_SY | = | "'" |  | Space_SY | = | " "
Escape_SY | = | "\" |  | Hexadecimal_Base_SY | = | "x" |  | Octal_Base_SY | = | "o"
Digit_Zero_SY | = | "0" |  | Decimal_Point_SY | = | "." |  | Exponent_SY | = | "e"

#### String Literal Format Symbols

New_Line_Signifier_SY | = | "n" |  | Carriage_Return_Signifier_SY | = | "r"
Form_Feed_Signifier_SY | = | "f" |  | Backspace_Signifier_SY | = | "b"
Horizontal_Tab_Signifier_SY | = | "t" |  | Vertical_Tab_Signifier_SY | = | "v"

#### Comment Special Symbol

Hyphen_SY="-"

| Specification Index |  | Language Index

Comments or enquiries should be made to Keith Hopper. Page last modified: Wednesday, 17 May 2000. |