Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network

  Advanced Search  

Compiling Little Languages in Python John Aycock

Summary: Compiling Little Languages in Python
John Aycock
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.
1 Introduction
Domain-speci c languages, or little languages," are
frequently encountered when dealing with comput-


Source: Aycock, John - Department of Computer Science, University of Calgary


Collections: Computer Technologies and Information Sciences