1989Unpublished venueRequires access

RAPID PROTOTYPING OF PROGRAMMING LANGUAGE SEMANTICS

B.R. Bryant, Aiqin Pan

Open publisher page 0 citations

Abstract

Prolog is proposed as an implementable specification language for programming language semantics. It is shown that both static semantics, specified by either attribute grammar or denotational semantics, and dynamic semantics, specified by either denotational semantics or axiomatic semantics, may be conveniently expressed in Prolog with the following advantages: 1) Because the notations used in formal semantics are based upon logic, it is straightforward to translate these into Prolog, thus making the conformity of the Prolog specifications with the original specifications more reliable; 2) Specifications expressed in Prolog are executable and may therefore be considered as prototype implementations of the semantics; and 3) Prolog exhibits the maximum amount of parallelism in the specifications, indicating where production quality systems might be implemented in parallel for improved performance. Finally, Prolog allows for a complete programming language specification which integrates all aspects of programming language semantics into a single unified framework.

About this research paper

What this paper is about

Prolog is proposed as an implementable specification language for programming language semantics. It is shown that both static semantics, specified by either attribute grammar or denotational semantics, and dynamic semantics, specified by either denotational semantics or axiomatic semantics, may be conveniently expressed in Prolog with the following advantages: 1) Because the notations used in formal semantics are based upon logic, it is straightforward to translate these into Prolog, thus making the conformity of the Prolog specifications with the original specifications more reliable; 2) Specifications expressed in Prolog are executable and may therefore be considered as prototype implementations of the semantics; and 3) Prolog exhibits the maximum amount of parallelism in the specifications, indicating where production quality systems might be implemented in parallel for improved performance. Finally, Prolog allows for a complete programming language specification which integrates all aspects of programming language semantics into a single unified framework.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Prolog is proposed as an implementable specification language for programming language semantics. It is shown that both static semantics, specified by either attribute grammar or denotational semantics, and dynamic semantics, specified by either denotational semantics or axiomatic semantics, may be conveniently expressed in Prolog with the following advantages: 1) Because the notations used in formal semantics are based upon logic, it is straightforward to translate these into Prolog, thus making the conformity of the Prolog specifications with the original specifications more reliable; 2) Specifications expressed in Prolog are executable and may therefore be considered as prototype implementations of the semantics; and 3) Prolog exhibits the maximum amount of parallelism in the specifications, indicating where production quality systems might be implemented in parallel for improved performance. Finally, Prolog allows for a complete programming language specification which integrates all aspects of programming language semantics into a single unified framework.

Key concepts: Programming language, Denotational semantics, Computer science, Prolog, Operational semantics, Well-founded semantics, Action semantics, Denotational semantics of the Actor model

Related papers

Back to paper searchBrowse research topicsOriginal source
RAPID PROTOTYPING OF PROGRAMMING LANGUAGE SEMANTICS — Research Paper | ScholarLens