Font utilities

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.2.1 CMI tokens

Tokens in a CMI file are one of the following.

  1. A numeric constant consists of (in order) an optional sign, zero or more digits, an optional decimal point, and zero or more digits--but at least one digit must be present. For example, `+0', `-0', `0', `.0', and `-0.0' are all valid ways to write the number zero.

  2. A string constant consists of all characters between two double-quote characters `"'. We made no provision for quoting `"', because our particular uses for string constants never need quote characters.

  3. A comma is a self-terminating token. It serves merely to separate two expressions.

  4. An identifier is any number of characters starting with a non-whitespace character (whitespace being defined by the C facility isspace) not listed above, and terminated by a whitespace character.

    In some contexts, an identifier is taken as a character name---a name from the encoding file Charspace is using, either the default or one you specified with `-encoding' (see section 9.3 Invoking Charspace). See section 5.3 Encoding files, for the definition of encoding files.

    In all other cases, identifiers are internal to Charspace. The particular commands describe the semantics which apply to them.

    Some identifiers are reserved, i.e., they cannot be used in any context except as described in the following sections. Reserved words are always shown in typewriter type.

An expression in a CMI file is one of: a number, an identifier, or a number followed by an identifier. This last, as in `.75 foo', denotes multiplication.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]