1999 · 34 citations · 9 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringSyntaxAbstract Syntax TreesLogic ProgrammingModal LogicProgramming Language DesignProgramming Language ImplementationType SystemsAbstract Semantics
. Multi-stage programming is a method for improving the performance of programs through the introduction of controlled program specialization. This paper makes a case for multi-stage programming with open code and closed values. We argue that a simple language exploiting interactions between two logical modalities is well suited for multi-stage programming, and report the results from our study of categorical models for multi-stage languages. Keywords: Multi-stage programming, categorical models, semantics, type systems #multi-level typed calculi #, combination of logics #modal and temporal#. 1 Introduction Multi-stage programming is a method for improving the performance of programs through the introduction of controlled program specialization #15, 13#. MetaML was the #rst language designed speci#cally to support this method. It provides a type constructor for #code" and staging annotations for building, combining, and executing code, thus allowing the programmer to have #ner control...
9
Notions of computation and monads
Eugenio Moggi · Information and Computation · 1991 · 1.7K citations
Multi-stage programming with explicit annotations
Walid Taha, Tim Sheard · 1997 · 343 citations
Multi-state programming : its theory and applications
Walid Taha · OHSU Digital Commons · 1999 · 164 citations · Full text
A modal analysis of staged computation
Rowan Davies, Frank Pfenning · 1996 · 142 citations