Theseus : A High Level Language for Reversible Computing
Theseus : A High Level Language for Reversible Computing
复制标题
Theseus:可逆计算的高级语言
DOI:
--
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Roshan P. James
中科院分区:
文献类型:
--
作者:
Roshan P. James
Programming in a reversible language remains “different” than programming in conventional irreversible languages, requiring specialized abstractions and unique modes of thinking. We present a high level language for reversible programming, called Theseus, that meshes naturally with conventional programming language abstractions. Theseus has the look and feel of a conventional functional language while maintaining a close correspondence with the low-level family of languages Π based on type isomorphisms [9]. In contrast to the point-free combinators of Π , Theseus has variables and binding forms, algebraic data types, function definitions by pattern matching, and is Turing complete. The language is strongly typed and all well-typed programs are reversible. We explain the semantics of Theseus via a collection of progressively expressive examples and outline its correspondence to Π .