Abstract
In a series of papers, Mosses and Watt define action semantics, a metalanguage for high level, domain-independent formulation of denotational semantics definitions. Action semantics hides details about domain structure (e.g., direct semantics domains vs. continuation semantics domains vs. resumption semantics domains) and coercions (e.g., integers into reals, injections of summands into sum domains) to encourage readability and modifiability. Action semantics notation is of interest as a programming language of itself, for its components (called actions) are polymorphic operators that can be composed in several fundamental ways. We formulate a model for action semantics based on Reynolds' category-sorted algebra. In the model, actions are natural transformations, and the composition operators are compositions in a “category of actions.” We use the model to prove semantic soundness and completeness of a unification-based, decidable type inference algorithm for action semantics expressions.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.