Operational Semantics for Lazy Evaluation
Mahmoud A. Abou Ghaly, Sameh S. Daoud, Azza A. Taha & Salwa M. Aly
Journal of Computer Science, Volume 3, Issue 8, pp. 639–645 · doi.org/10.3844/jcssp.2007.639.645
Abstract
An operational semantics for lazy evaluation of a calculus without higher order functions was defined. Although it optimizes many aspects of implementation, e.g. there is a sharing in the recursive computation, there is no α conversion, the heap is automatically reclaimed, and an attempt to evaluate an argument is done at most once. It is still suitable for reasoning about program behavior and proofs of program correctness; this is primarily due to the definition via inferences and axioms which allows for proofs by induction on the height of the proof tree. We also proved the correctness of this operational semantics by showing that it is equivalent with respect to the values calculated to the operational semantics of LAZY-PCF+SHAR due to S. Purushothaman Iyer and Jill Seaman.
Licence and reuse
Free to read. This article carries the publisher’s copyright, as printed on it: © 2007 Science Publications. It is free to read; ask us before reusing it.
How to reuse this articleResponses (0)
About this article
Abou Ghaly, M. A., Daoud, S. S., Taha, A. A. & Aly, S. M. (2007). Operational Semantics for Lazy Evaluation. Journal of Computer Science, 3(8), 639–645. https://doi.org/10.3844/jcssp.2007.639.645
- Licence
- © Science Publications
- Issue
- Volume 3, Issue 8
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
