ACM Home Page
Please provide us with feedback. Feedback
Searching for semantics
Full text PdfPdf (1.16 MB)
Source ACM/SIGPLAN Workshop Partial Evaluation and Semantics-Based Program Manipulation archive
Proceedings of the 1993 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation table of contents
Copenhagen, Denmark
Pages: 1 - 12  
Year of Publication: 1993
ISBN:0-89791-594-1
Author
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 10,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/154630.154631
What is a DOI?

ABSTRACT

We consider the task of generating operational semantics, defined as axiomatizations of relations such as e → v, from an equality theory, given as a set of equations {e1 = e2}. We generate these semantics by constructing derived rules based on equations provable in this equality theory and constrained by a simple correctness criteria. This criteria, which we have previously used in verifying compiler correctness, states that the generated semantics correctly implements a given source language. We use Elf, a logic programming language, to axiomatize source language semantics, equality theories for target languages, and translations between source and target languages, and to construct the derived rules, based on these axiomatizations, for the target languages. During the process of constructing derived rules we simultaneously construct a correctness proof, relating these new rules to a given source language and the translation between languages. Previous uses of Elf (in compiler construction and language manipulation) have focused on the language's type system to express statements of correctness. We focus here on Elf's search paradigm, exploiting it in a crucial way to construct objects representing semantic specifications. We have only considered operational semantics for simple functional languages, but we expect that our results can be generalized to a wider class of languages.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
M. Abadi, L. Cardelli, P.-L. Curien, and J.-J. L~vy. Explicit substitutions. Journal of Functional Programming, 1(4):375-416, October 1991.
 
2
Martin Abadi, Luca Cardelli, Pierre-Louis Curien, and Jean-Jacques Levy. Explicit substitutions. Journal of Functional Programming, 1(4):375-416, October 1991.
 
3
 
4
 
5
 
6
Pierre-Louis Curien. The Ap-calculus: An abstract framework for environment machines. Technical report, LIENS-CNRS, 1990.
 
7
Jo~lle Despeyroux. Proof of translation in natural semantics. In Proceedings of the First IEEE Symposium on Logic in Computer Science, pages 193-205, Cambridge, Massachusetts, 1986. IEEE Computer Society Press.
8
 
9
 
10
John I-Iannan ,and Frank Pfenning. Compiler verification in LF. In Andre Scedrov, editor, Proceedings of the Seventh Annual 1EEE Symposium on Logic in Computer Science.~ pages 407-418. IEEE Computer Society Press, 1992.
11
 
12
 
13
 
14
Dale Miller. A logic programming language with lambda-abstracl,ion, function variables, and simple unification. Journal of Logic and Computation, 1(4):497- 536, 1991.
 
15
 
16
Frank Pfenning. An implementation of the Elf core language in Standard ML. Available via ftp over the internet, September 1991. Send mail to elfrequest@cs.cmu.edu for further information.
 
17
 
18