[Next] [Up] [Previous] [Contents]
Next: Identifiers Up: Syntax Previous: Syntax

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 punctation 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 `` tex2html_wrap_inline994 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.



Ken McMillan
Sat Jun 6 21:41:59 PDT 1998