2010
DOI: 10.2168/lmcs-6(4:8)2010
|View full text |Cite
|
Sign up to set email alerts
|

A Logical Foundation for Environment Classifiers

Abstract: Abstract. Taha and Nielsen have developed a multi-stage calculus λ α with a sound type system using the notion of environment classifiers. They are special identifiers, with which code fragments and variable declarations are annotated, and their scoping mechanism is used to ensure statically that certain code fragments are closed and safely runnable.In this paper, we investigate the Curry-Howard isomorphism for environment classifiers by developing a typed λ-calculus λ ⊲ . It corresponds to multi-modal logic t… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
9
0

Year Published

2013
2013
2023
2023

Publication Types

Select...
3
2
2

Relationship

2
5

Authors

Journals

citations
Cited by 11 publications
(9 citation statements)
references
References 30 publications
0
9
0
Order By: Relevance
“…Shields et al [1998] propose a combination of dynamic typing and staged computation [Davies and Pfenning 2001;Taha and Sheard 2000] in a statically typed language. In their language, all code values are given a single code type ⟨⟩ (without information on the static type of the code as is typical in type systems for staged computation [Davies 1996;Davies and Pfenning 2001;Kim et al 2006;Taha and Nielsen 2003;Taha and Sheard 2000;Tsukada and Igarashi 2010]) and they are typechecked only when it is executed by eval. Such a "typecheck before eval" strategy is called staged type inference.…”
Section: Related Workmentioning
confidence: 99%
“…Shields et al [1998] propose a combination of dynamic typing and staged computation [Davies and Pfenning 2001;Taha and Sheard 2000] in a statically typed language. In their language, all code values are given a single code type ⟨⟩ (without information on the static type of the code as is typical in type systems for staged computation [Davies 1996;Davies and Pfenning 2001;Kim et al 2006;Taha and Nielsen 2003;Taha and Sheard 2000;Tsukada and Igarashi 2010]) and they are typechecked only when it is executed by eval. Such a "typecheck before eval" strategy is called staged type inference.…”
Section: Related Workmentioning
confidence: 99%
“…This language has explicit annotations of the stage at which each computation is taking place, and is also able to handle open code. This led to a flurry of developments, and in particular the very influential work of Sheard [1997, 2000] on MetaML, and then the environment classifiers of Taha and Nielsen [2003], which have recently been improved by Tsukada and Igarashi [2010]. See [Kavvos, 2016, §6] for further references, and for a discussion of the modal aspects used.…”
Section: Metaprogrammingmentioning
confidence: 99%
“…It refers to the ability given to a programmer to quote code, and carry it around as a datum; see [4] for an instance of that in LISP. This ability can be used for metaprogramming, which is the activity of writing programs that write other programs; indeed, this is what LISP macros excel at [10], and this is what the metaprogramming community has been studying for a long time: see [24,26]. But we want go even further.…”
Section: Intensionality and Programs-as-datamentioning
confidence: 99%