Cocktail Toolbox

Program-Transformation.Org: The Program Transformation Wiki

Cocktail is a set of program generators or compiler construction tools for nearly all phases of a compiler. The compiler construction tools support the automatic generation of compilers for imperative programming languages. The design goals for this toolbox were practical usability, significantly reduced construction effort for compilers, and high quality of the generated compilers. Especially with respect to efficiency the tools are competitive to programming by hand. Currently the tools can generate compiler modules in the languages C, C++, Modula-2, and in part Ada or Eiffel. Many realistic applications demonstrate the excellent performance of the tools and show that the tools allow the construction of production quality compilers.