next up previous contents
Next: Identifiers Up: Syntax Previous: Syntax   Contents

Lexical tokens

A program is a sequence of lexical tokens, optionally separated by whitespace. A token is either an atom, a number, or any of the various keywords and punctuation symbols that appear in typewriter font in the grammar expressions that follow.

An atom is

As an example ``foo_123'' is an atom. It is exactly equivalent to ``$\backslash$foo_123 '' (note the terminating space character). Using backslash and space as delimiters allows any character (including backslash, but excluding space) to be included in an atom.

A number is a string of digits. Whitespace is any string of space characters, tab characters and newline characters.



2002-10-28