Abstract.
The specification of realistic programming languages is difficult and expensive. One approach to make language specification more attractive is the development of techniques and systems for the generation of language–specific software from specifications. To contribute to this approach, a tool–based framework with the following features is presented: It supports new techniques to specify more language aspects in a static fashion. This improves the efficiency of generated software. It provides powerful interfaces to generated software components. This facilitates the use of these components as parts of language–specific software. It has a rather simple formal semantics. In the framework, static semantics is defined by a very general attribution technique enabling e.g. the specification of flow graphs. The dynamic semantics is defined by evolving algebra rules, a technique that has been successfully applied to realistic programming languages.
After providing the formal background of the framework, an object–oriented programming language is specified to illustrate the central specification features. In particular, it is shown how parallelism can be handled. The relationship to attribute grammar extensions is discussed using a non-trivial compiler problem. Finally, the paper describes new techniques for implementing the framework and reports on experiences made so far with the implemented system.
Similar content being viewed by others
Author information
Authors and Affiliations
Additional information
Received: 20 November 1995 / 20 January 1997
Rights and permissions
About this article
Cite this article
Poetzsch-Heffter, A. Prototyping realistic programming languages based on formal specifications. Acta Informatica 34, 737–772 (1997). https://doi.org/10.1007/s002360050105
Issue Date:
DOI: https://doi.org/10.1007/s002360050105