An Imperative Pure Calculus
conference contribution
posted on 2020-11-01, 23:01 authored by A Capriccioli, Marco ServettoMarco Servetto, E Zucca© 2016 The Authors. Published by Elsevier B.V. We present a simple calculus where imperative features are modeled by just rewriting source code terms, rather than by modifying an auxiliary structure which mimics physical memory. Formally, this is achieved by the block construct, introducing local variable declarations, which also plays the role of store when such declarations have been evaluated. In this way, we obtain a language semantics which is more abstract, and directly represents at the syntactic level constraints on aliasing, allowing simpler reasoning about related properties. We illustrate this possibility by a simple extension of the standard type system which assigns a capsule tag to expressions that will reduce to (values representing) isolated portions of store.
History
Preferred citation
Capriccioli, A., Servetto, M. & Zucca, E. (2016, April). An Imperative Pure Calculus. In Electronic Notes in Theoretical Computer Science (322 (2016)pp. 87-102). Elsevier. https://doi.org/10.1016/j.entcs.2016.03.007Publisher DOI
Title of proceedings
Electronic Notes in Theoretical Computer ScienceVolume
322Series
Electronic Notes in Theoretical Computer ScienceContribution type
Published PaperPublication or Presentation Year
2016-04-18Pagination
87-102Publisher
ElsevierPublication status
PublishedISSN
1571-0661Usage metrics
Categories
Keywords
Licence
Exports
RefWorksRefWorks
BibTeXBibTeX
Ref. managerRef. manager
EndnoteEndnote
DataCiteDataCite
NLMNLM
DCDC