Sather Home
        Page

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

Pervasive Names & Identifiers

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"
Alert_SY = "a"

Comment Special Symbol

Hyphen_SY="-"

Specification Index Language Index
Comments or enquiries should be made to Keith Hopper.
Page last modified: Tuesday, 24 October 2000.
Produced with Amaya