Continuation Semantics as Horn Clauses
暂无分享,去创建一个
Provably correct compilation is an important aspect in development of high assurance software systems. In this paper we further develop our approach to provably correct compilation based on Horn logical semantics of programming languages 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. Our approach has been applied for developing the semantics of the SCR specification language, the semantics is then used to (automatically) generate target code in a provably correct manner.
[1] Constance L. Heitmeyer,et al. Automated consistency checking of requirements specifications , 1996, TSEM.
[2] Gopal Gupta,et al. Horn Logic Denotations and Their Applications , 1999, The Logic Programming Paradigm.
[3] Neil D. Jones,et al. An introduction to partial evaluation , 1996, CSUR.
[4] David A. Schmidt,et al. Denotationaisemantics: a methodology for language development , 1986 .