Extensions to the Cocktail Generator Toolset

R.M. Bates (USA)


Source code generators, Compilers, Pattern-matching, Development tools


We describe an ongoing project modifying and extending the Cocktail suite of domain-specific languages, primar ily oriented toward the production of compilers and sim ilar programs. Cocktail is a package containing source code generators for each of these languages. We have used Cocktail in three source-to-source code translators, a com piler, portions of a unification package, and a tool for man aging large collections of acronyms in a documentation set. We have extensively modified the Cocktail languages for these projects, and we motivate and describe several of these modifications. We discuss various lessons learned in using Cocktail and how our designs have evolved as a re sult. We also describe several of the further extensions we have planned.

Important Links:

Go Back