Results 1 
5 of
5
Tagless Staged Interpreters for Typed Languages
 In the International Conference on Functional Programming (ICFP ’02
, 2002
"... Multistage programming languages provide a convenient notation for explicitly staging programs. Staging a definitional interpreter for a domain specific language is one way of deriving an implementation that is both readable and efficient. In an untyped setting, staging an interpreter "removes a co ..."
Abstract

Cited by 53 (11 self)
 Add to MetaCart
Multistage programming languages provide a convenient notation for explicitly staging programs. Staging a definitional interpreter for a domain specific language is one way of deriving an implementation that is both readable and efficient. In an untyped setting, staging an interpreter "removes a complete layer of interpretive overhead", just like partial evaluation. In a typed setting however, HindleyMilner type systems do not allow us to exploit typing information in the language being interpreted. In practice, this can have a slowdown cost factor of three or more times.
Inductive Data Types: Wellordering Types Revisited
 Logical Environments
, 1992
"... We consider MartinLof's wellordering type constructor in the context of an impredicative type theory. We show that the wellordering types can represent various inductive types faithfully in the presence of the fillingup equality rules or jrules. We also discuss various properties of the fill ..."
Abstract

Cited by 8 (1 self)
 Add to MetaCart
We consider MartinLof's wellordering type constructor in the context of an impredicative type theory. We show that the wellordering types can represent various inductive types faithfully in the presence of the fillingup equality rules or jrules. We also discuss various properties of the fillingup rules. 1 Introduction Type theory is on the edge of two disciplines, constructive logic and computer science. Logicians see type theory as interesting because it offers a foundation for constructive mathematics and its formalization. For computer scientists, type theory promises to provide a uniform framework for programs, proofs, specifications, and their development. From each perspective, incorporating a general mechanism for inductively defined data types into type theory is an important next step. Various typetheoretic approaches to inductive data types have been considered in the literature, both in MartinLof's predicative type theories (e.g., [ML84, Acz86, Dyb88, Dyb91, B...
Recursive Models of General Inductive Types
 Fundam. Inf
, 1993
"... We give an interpretation of MartinLof's type theory (with universes) extended with generalized inductive types. The model is an extension of the recursive model given by Beeson. By restricting our attention to PER model, we show that the strictness of positivity condition in the definition of gene ..."
Abstract

Cited by 2 (1 self)
 Add to MetaCart
We give an interpretation of MartinLof's type theory (with universes) extended with generalized inductive types. The model is an extension of the recursive model given by Beeson. By restricting our attention to PER model, we show that the strictness of positivity condition in the definition of generalized inductive types can be dropped. It therefore gives an interpretation of general inductive types in MartinLof's type theory. Copyright c fl1993. All rights reserved. Reproduction of all or part of this work is permitted for educational or research purposes on condition that (1) this copyright notice is included, (2) proper attribution to the author or authors is made and (3) no commercial gain is involved. Technical Reports issued by the Department of Computer Science, Manchester University, are available by anonymous ftp from m1.cs.man.ac.uk (130.88.13.4) in the directory /pub/TR. The files are stored as PostScript, in compressed form, with the report number as filename. Alternative...
Encodings In Polymorphism, revisited
, 1992
"... We consider encodings in polymorphism with finite product types. These encodings are given in terms of Ialgebras. They have the property that all canonical terms (ground terms) are normal terms. We transplant the proof of a wellknown result to our setting and show why weak recursion is admissible. ..."
Abstract

Cited by 1 (1 self)
 Add to MetaCart
We consider encodings in polymorphism with finite product types. These encodings are given in terms of Ialgebras. They have the property that all canonical terms (ground terms) are normal terms. We transplant the proof of a wellknown result to our setting and show why weak recursion is admissible. We also show how to carry out the dual encodings using the existential quantifier. Copyright c fl1993. All rights reserved. Reproduction of all or part of this work is permitted for educational or research purposes on condition that (1) this copyright notice is included, (2) proper attribution to the author or authors is made and (3) no commercial gain is involved. Technical Reports issued by the Department of Computer Science, Manchester University, are available by anonymous ftp from m1.cs.man.ac.uk (130.88.13.4) in the directory /pub/TR. The files are stored as PostScript, in compressed form, with the report number as filename. Alternatively, reports are available by post from The Comput...
Reflective Semantics of Constructive Type Theory
, 1991
"... It is wellknown that the proof theory of many sufficiently powerful logics may be represented internally by Godelization. Here we show that for Constructive Type Theory, it is furthermore possible to define a semantics of the types in the type theory itself, and that this procedure results in new r ..."
Abstract
 Add to MetaCart
It is wellknown that the proof theory of many sufficiently powerful logics may be represented internally by Godelization. Here we show that for Constructive Type Theory, it is furthermore possible to define a semantics of the types in the type theory itself, and that this procedure results in new reasoning principles for type theory. Paradoxes are avoided by stratifying the definition in layers. 1 Introduction Given a sufficiently powerful logical theory L such as Peano Arithmethic, it is wellknown that the proof theory of L may be expressed internally via Godelization. This is accomplished by defining a metafunction dAe that encodes formulas A as data, and a predicate Provable L (dAe) which is true just when formula A is provable. This gives L knowledge of its own proof theory, but it doesn't know that it knows it: the embedded proof theory could just as well be for some different logic. What is needed then are principles of selfknowledge that connect the provability predicate wit...