2. Lexical Elements

The text of a program consists of the texts of one or more compilations. The text of a compilation is a sequence of lexical elements, each composed of characters; the rules of composition are given in this chapter. Pragmas, which provide certain information for the compiler, are also described in this chapter.

References: character, compilation, lexical element, pragma.

Sub-topics:

  • 2.1 Character Set
  • 2.2 Lexical Elements, Separators, and Delimiters
  • 2.3 Identifiers
  • 2.4 Numeric Literals
  • 2.5 Character Literals
  • 2.6 String Literals
  • 2.7 Comments
  • 2.8 Pragmas
  • 2.9 Reserved Words
  • 2.10 Allowable Replacements of Characters

[INDEX][CONTENTS]