ang"></A>

<H2>2. The specification language Cocol/R</H2>

<P>A compiler description can be viewed as consisting of imports,
declarations and grammar rules that describe the lexical and syntactical
structure of a source language as well as its translation into a target
language.

<H3>2.1 Vocabulary</H3>

<P>The vocabulary of Cocol/R uses identifiers, strings and numbers:</P>

<PRE>
  CHARACTERS
    letter   = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_" .
    digit    = "0123456789" .
    cntl   