Twig reference manual.

23 January 1986

New Image

Twig is a language for creating programs to manipulate trees. A twig specification consists of a set of pattern-rules together with associated declarations. Patterns describe trees to be matched and actions calculate costs, perform tree transformations and other functions such as emitting code. A twig specification is translated by the twig compiler into subroutines and tables.