DocAda(tm) is a productivity tool of KSCE

____ | Up | Next | Back | Forward
About DocAda Light: Preface / Preliminary / Help / TOC / Copyright
DocAda Online at the Ada Home: Complete RM95 / Updates / News

2.1 Character Set

The only characters allowed outside of comments are the graphic_characters and format_effectors.

Syntax

   
       character ::= graphic_character | format_effector | other_control_function

       graphic_character ::= identifier_letter | digit | space_character | special_character

Static Semantics

The character repertoire for the text of an Ada program consists of the collection of characters called the Basic Multilingual Plane (BMP) of the ISO 10646 Universal Multiple-Octet Coded Character Set, plus a set of format_effectors and, in comments only, a set of other_control_functions; the coded representation for these characters is implementation defined (it need not be a representation defined within ISO-10646-1).

The description of the language definition in this International Standard uses the graphic symbols defined for Row 00: Basic Latin and Row 00: Latin-1 Supplement of the ISO 10646 BMP; these correspond to the graphic symbols of ISO 8859-1 (Latin-1); no graphic symbols are used in this International Standard for characters outside of Row 00 of the BMP. The actual set of graphic symbols used by an implementation for the visual representation of the text of an Ada program is not specified.

The categories of characters are defined as follows:

identifier_letter

upper_case_identifier_letter

lower_case_identifier_letter

digit

space_character

special_character

format_effector

other_control_function

The following names are used when referring to certain special_characters:

       symbol     name                       symbol     name

         "        quotation mark               :        colon
         #        number sign                  ;        semicolon
         &        ampersand                    <        less-than sign
         '        apostrophe, tick             =        equals sign
         (        left parenthesis             >        greater-than sign
         )        right parenthesis            _        low line, underline
         *        asterisk, multiply           |        vertical line
         +        plus sign                    [        left square bracket
         ,        comma                        ]        right square bracket
         -        hyphen-minus, minus          {        left curly bracket
         .        full stop, dot, point        }        right curly bracket
         /        solidus, divide

Implementation Permissions

In a nonstandard mode, the implementation may support a different character repertoire; in particular, the set of characters that are considered identifier_letters can be extended or changed to conform to local conventions.

About DocAda Light: Preface / Preliminary / Help / TOC / Copyright
DocAda Online at the Ada Home: Complete RM95 / Updates / News
____ | Up | Next | Back | Forward


Copyright © 1994-1997 by Kempe Software Capital Enterprises. All Rights Reserved. For comments on this DocAda(tm) hypertext document, please write to KSCE, at docada@ksce.com