REDUCE

10.12 Scan Table Utility Functions

The following functions are provided to manage scan tables, in the read-utils module.

(printscantable TABLE:vector): nil expr
Prints the entire scantable, gives the 0 ... 127 entries with the name of the character class. Also prints the indicator used for diphthongs.

(copyscantable OLDTABLE:{vector, nil}): vector expr
Copies the existing scantable (or currentscantable* if given nil). The 128’th entry (the diphthong indicator), of the copy is set to the result of a call on gensym.

(putdiphthong TABLE:vector D1:id ID2:id DIP:id): nil expr
Installs DIP as the name of the diphthong Id1 followed by ID2 in the given scan table.