Go to the first, previous, next, last section, table of contents.


4 Lexical Conventions

This chapter presents the lexical conventions of Larch/C++; that is, the microsyntax of Larch/C++. At the end of the chapter, support for international character sets is described.

Throughout this chapter, grammatical productions are to be understood lexically. That is, no white-space (see section 4.1 White Space) may intervene between the characters of a token.

The microsyntax of Larch/C++ is described by the production microsyntax below; it describes what a program looks like from the point of view of a lexical analyzer [Watt91].

microsyntax ::= lexeme [ lexeme ] ...
lexeme ::= white-space | comment | annotation-marker
          | pragma | token


Go to the first, previous, next, last section, table of contents.