The University of Southampton
University of Southampton Institutional Repository

Towards Provably Correct Code Generation via Horn Logical Continuation Semantics

Towards Provably Correct Code Generation via Horn Logical Continuation Semantics
Towards Provably Correct Code Generation via Horn Logical Continuation Semantics
Provably correct compilation is an important aspect in development of high assurance software systems. In this paper we explore approaches to provably correct code generation based on programming language semantics, particularly Horn logical semantics, and partial evaluation. We show that the definite clause grammar (DCG) notation can be used for specifying both the syntax and semantics of imperative languages. We next show that continuation semantics can also be expressed in the Horn logical framework.
Compilers, Formal Methods, Partial Evaluation, Logic Programming
98-112
Wang, Qian
a9a64412-49cc-4ab7-9bb6-646551219d66
Gupta, Gopal
fa2dd158-f0af-4663-b304-a32f7f31dab0
Leuschel, Michael
c2c18572-66cf-4f84-ade4-218ce3afe78b
Hermengildo, Manuel
5269af1c-9a18-49aa-b464-2c1511915ed6
Cabeza, Daniel
fe562ff2-2aec-4218-8a00-125c9499a550
Wang, Qian
a9a64412-49cc-4ab7-9bb6-646551219d66
Gupta, Gopal
fa2dd158-f0af-4663-b304-a32f7f31dab0
Leuschel, Michael
c2c18572-66cf-4f84-ade4-218ce3afe78b
Hermengildo, Manuel
5269af1c-9a18-49aa-b464-2c1511915ed6
Cabeza, Daniel
fe562ff2-2aec-4218-8a00-125c9499a550

Wang, Qian, Gupta, Gopal and Leuschel, Michael (2005) Towards Provably Correct Code Generation via Horn Logical Continuation Semantics. Hermengildo, Manuel and Cabeza, Daniel (eds.) Proceedings of PADL'05 (Practical Applications of Declarative Languages), Long Beach, CA, United States. pp. 98-112 .

Record type: Conference or Workshop Item (Paper)

Abstract

Provably correct compilation is an important aspect in development of high assurance software systems. In this paper we explore approaches to provably correct code generation based on programming language semantics, particularly Horn logical semantics, and partial evaluation. We show that the definite clause grammar (DCG) notation can be used for specifying both the syntax and semantics of imperative languages. We next show that continuation semantics can also be expressed in the Horn logical framework.

Text
padl05fv3.pdf - Other
Download (187kB)

More information

Published date: 2005
Additional Information: Event Dates: January 2005
Venue - Dates: Proceedings of PADL'05 (Practical Applications of Declarative Languages), Long Beach, CA, United States, 2005-01-01
Keywords: Compilers, Formal Methods, Partial Evaluation, Logic Programming
Organisations: Electronics & Computer Science

Identifiers

Local EPrints ID: 260799
URI: http://eprints.soton.ac.uk/id/eprint/260799
PURE UUID: a2188bdf-40af-426f-b11a-310af5c7eed0

Catalogue record

Date deposited: 27 Apr 2005
Last modified: 14 Mar 2024 06:43

Export record

Contributors

Author: Qian Wang
Author: Gopal Gupta
Author: Michael Leuschel
Editor: Manuel Hermengildo
Editor: Daniel Cabeza

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×