staged computation
Recently Published Documents


TOTAL DOCUMENTS

13
(FIVE YEARS 1)

H-INDEX

4
(FIVE YEARS 0)

2020 ◽  
Vol 22 (4) ◽  
pp. 99-103
Author(s):  
Konrad Hinsen ◽  
Konrad Hinsen ◽  
Matthew Turk
Keyword(s):  

2005 ◽  
Vol 15 (6) ◽  
pp. 893-939 ◽  
Author(s):  
ALEKSANDAR NANEVSKI ◽  
FRANK PFENNING

Staging is a programming technique for dividing the computation in order to exploit the early availability of some arguments. In the early stages the program uses the available arguments to generate, at run time, the code for the late stages. A type system for staging should ensure that only well-typed expressions are generated, and that only expressions with no free variables are permitted for evaluation. In this paper, we present a calculus for staged computation in which code from the late stages is composed by splicing smaller code fragments into a larger context, possibly incurring capture of free variables. The type system ensures safety by tracking the names of free variables for each code fragment. The type system is based on the necessity operator □ from constructive modal logic, which we index with a set of names C. Our type □CA classifies expressions of type A that belong to the late stage, and whose free names are in the set C.


2003 ◽  
Vol 13 (3) ◽  
pp. 647-676 ◽  
Author(s):  
STEFAN MONNIER ◽  
ZHONG SHAO
Keyword(s):  

2001 ◽  
Vol 48 (3) ◽  
pp. 555-604 ◽  
Author(s):  
Rowan Davies ◽  
Frank Pfenning

1999 ◽  
Author(s):  
Rowan Davies ◽  
Frank Pfenning

Sign in / Sign up

Export Citation Format

Share Document