Title :
Abstract Machines for Game Semantics, Revisited
Author :
Fredriksson, Olle ; Ghica, Dan R.
Author_Institution :
Univ. of Birmingham, Birmingham, UK
Abstract :
We define new abstract machines for game semantics which correspond to networks of conventional computers, and can be used as an intermediate representation for compilation targeting distributed systems. This is achieved in two steps. First we introduce the HRAM, a Heap and Register Abstract Machine, an abstraction of a conventional computer, which can be structured into HRAM nets, an abstract point-to-point network model. HRAMs are multi-threaded and subsume communication by tokens (cf. IAM) or jumps. Game Abstract Machines (GAM), are HRAMs with additional structure at the interface level, but no special operational capabilities. We show that GAMs cannot be naively composed, but composition must be mediated using appropriate HRAM combinators. HRAMs are flexible enough to allow the representation of game models for languages with state (non-innocent games) or concurrency (non-alternating games). We illustrate the potential of this technique by implementing a toy distributed compiler for ICA, a higher-order programming language with shared state concurrency, thus significantly extending our previous distributed PCF compiler. We show that compilation is sound and memory-safe, i.e. no (distributed or local) garbage collection is necessary.
Keywords :
finite automata; game theory; program compilers; GAM; HRAM nets; ICA; abstract point-to-point network model; distributed PCF compiler; game abstract machine; game semantics; heap-and-register abstract machine; higher-order programming language; shared state concurrency; toy distributed compiler; Abstracts; Engines; Games; Message systems; Ports (Computers); Registers; Semantics; abstract machines; distributed compilation; game semantics;
Conference_Titel :
Logic in Computer Science (LICS), 2013 28th Annual IEEE/ACM Symposium on
Conference_Location :
New Orleans, LA
Print_ISBN :
978-1-4799-0413-6
DOI :
10.1109/LICS.2013.63