Cool (programming language)

Cool ("Classroom Object Oriented Language") is a language designed by Alexander Aiken for use in an undergraduate compiler course project. While small enough for a one term project, Cool still has many of the features of modern programming languages, including objects, automatic memory management, strong static typing and simple reflection.

The reference Cool compiler is written in C++, built entirely on public domain tools; it generates code for a MIPS simulator, SPIM. Thus, the project should port easily to other platforms. The project has been used for teaching compilers at many institutions (such as the Berkeley University, where it was first used) and the software is stable.

The main page of the project can be visited at http://www.cs.berkeley.edu/~aiken/cool/.

Other lecturers such as John Tang Boyland (author of the Sather164 language, precursor of Cool) and Allan Jost have developed some dialects of Cool to be used in their own classes.

Note that this language is unrelated to the COOL language included in CLIPS.

References