An action semantics based on two combinators
- Authors
- Doh, Kyung-Goo; Schmidt, David A.
- Issue Date
- Jan-2009
- Publisher
- Springer Verlag
- Keywords
- Action semantics; Algebra; Semantics; Lambda abstraction; Abstracting; Deduction rule; Partial evaluation; Combinators; Monoids
- Citation
- Lecture Notes in Computer Science, v.5700, pp 274 - 296
- Pages
- 23
- Indexed
- OTHER
- Journal Title
- Lecture Notes in Computer Science
- Volume
- 5700
- Start Page
- 274
- End Page
- 296
- URI
- https://scholarworks.bwise.kr/erica/handle/2021.sw.erica/41443
- DOI
- 10.1007/978-3-642-04164-8_14
- ISSN
- 0302-9743
1611-3349
- Abstract
- We propose a naive version of action semantics that begins with a selection of transient and persistent facets, each characterized as a partial monoid. Yielders are defined as operations on the monoids' values, and actions extract values from the facets, give them to yielders, and place the results into facet output. Actions are composed with a primary combinator, andthen, which can be specialized for multiple facet flows, and the choice combinator, or. Using big-step-style deduction rules, we give the semantics of yielders and actions, and we introduce a weakening rule and a strengthening rule, which let us compose actions with different facet domain-codomains. We also introduce Mosses abstraction, a lambda-abstraction variant that improves the readability of action-semantics definitions. Finally, we exploit the subsort (subtype) structure within Mosses's unified algebras to use the deduction rules as both a typing definition as well as a semantics definition. Partial evaluation techniques are applied to type check and compile programs. © 2009 Springer Berlin Heidelberg.
- Files in This Item
-
Go to Link
- Appears in
Collections - COLLEGE OF COMPUTING > SCHOOL OF COMPUTER SCIENCE > 1. Journal Articles

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.