Skip to main content
Log in

Prototyping realistic programming languages based on formal specifications

  • Published:
Acta Informatica Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received: 20 November 1995 / 20 January 1997

Rights and permissions

Reprints 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

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s002360050105

Keywords

Navigation