Summary: Compiling Little Languages in Python
Department of Computer Science
University of Victoria
Victoria, B.C., Canada
Little languages" such as con guration les or
HTML documents are commonplace in computing.
This paper divides the work of implementinga little
language into four parts, and presents a framework
which can be used to easily conquer the implemen-
tation of each. The pieces of the framework have
the unusual property that they may be extended
through normalobject-oriented means, allowingfea-
tures to be added to a little language simply by sub-
classing parts of its compiler.
Domain-speci c languages, or little languages," are
frequently encountered when dealing with comput-