next up previous contents index
Next: Literals Up: General Concepts Previous: Syntactic Conventions

Basic syntactic classes

We'll use Integer , Char , Real , String  and Id  to denote the syntactic classes of integers, characters, real numbers, strings and identifiers, respectively. As in C++, characters are quoted with the single quotes ', while strings are quoted with double quotes ". An identifier is any sequence of alphanumeric of characters that begins with a letter. In addition, we'll use the syntactic class Stmt  to denote any valid combination of C++ and Prop statements.



Allen Leung
Mon Apr 7 14:33:55 EDT 1997