Category | Symbol | Usage | Lexical Scope |
---|---|---|---|
Intra-Literal | \ | Escape Prefix for LF and TAB | Within Quoted Literals |
' | Digit Separator | Within Number Literals | |
. | Decimal Point | Within Real Number Literals | |
+ - | Exponent Sign | ||
Special Operators | :: | Type Conversion | Within Expressions |
== | Identity Test | Within ADT Expressions | |
& | Array, List and String Concatenation | Within Array, List and String Expressions | |
Arithmetic Operators | + | Unary Plus, Addition | Within Arithmetic Expressions |
- | Unary Minus, Subtraction | ||
* | Multiplication | ||
/ | Real Division | ||
*. | Dot Product | ||
Relational Operators | = | Equality Test | Within Arithmetic Expressions |
# | Inequality Test | ||
> | Greater-Than Test | ||
>= | Greater-Or-Equal Test | ||
< | Less-Than Test | ||
<= | Less-Or-Equal Test | ||
Set Operators | + | Set Union | Within Set Expressions |
\ | Set Difference | ||
* | Set Intersection | ||
/ | Symmetric Set Difference | ||
> | Proper Superset Test | ||
>= | Superset Test | ||
< | Proper Subset Test | ||
<= | Subset Test | ||
Special Syntax | + | Re-Export Suffix, Enumeration Extension Prefix | |
* | Wildcard Import Suffix, Restricted Export Prefix | ||
:= | Assignment | ||
++ | Increment Statement Suffix, FOR Loop Ascender | ||
-- | Decrement Statement Suffix, FOR Loop Descender | ||
.. | Subrange Constructor, Slice Range Specifier | ||
^ | Pointer Dereferencing Suffix | ||
-> | One-Way Dependency | Blueprint | |
<> | Mutual Dependency Constraint | Blueprint | |
>< | Mutual Exclusion Constraint | Blueprint | |
+/- | Unary Minus Binding Specifier | Blueprint | |
Punctuation | . | Name Separator | Within Qualified Identifier |
Module Terminator | End of Module | ||
, | Item Separator | Within Item List | |
; | List Separator | Within Declaration and Statement Sequences | |
: | Head Body Separator | Within Declarations and Formal Parameters | |
| | Case Label Prefix | Within Case Label List | |
Terminator Prefix | Within Formal Parameters | ||
Delimiters | ' " | Quoted String Literal Delimiters | Within Expressions |
( ) | Expression Grouping, Parameter List Delimiters | Within Expressions, Procedure Headers | |
{ } | Structured Value Delimiters | Within Expressions, Formal Parameters | |
[ ] | Array Index, Subrange and Slice Delimiters | Within Expressions | |
<< >> | Replacement Text Delimiters | Within Library Generation Directive | |
Comments | ! | Line Comment Prefix | At First Column of Any Line |
(* *) | Block Comment Delimiters | Anywhere Before or After a Token | |
Pragmas | ? | Value Pragma Query Prefix | Within Message Pragma |
<* *> | Pragma Delimiters | Before or After Certain Tokens |