Sciweavers

APLAS
2006
ACM

Type and Effect System for Multi-staged Exceptions

14 years 3 months ago
Type and Effect System for Multi-staged Exceptions
Abstract. We present a type and effect system for a multi-staged language with exceptions. The proposed type and effect system checks if we safely synthesize complex controls with exceptions in multi-staged programming. The proposed exception constructs in multi-staged programming has no artificial restriction. Exception-raise and -handle expressions can appear in expressions of any stage, though they are executed only at stage 0. Exceptions can be raised during code composition and may escape before they are handled. Our effect type system support such features. We prove our type and effect system sound: empty effect means the input program has no uncaught exceptions during its execution.
Hyunjun Eo, Ik-Soon Kim, Kwangkeun Yi
Added 20 Aug 2010
Updated 20 Aug 2010
Type Conference
Year 2006
Where APLAS
Authors Hyunjun Eo, Ik-Soon Kim, Kwangkeun Yi
Comments (0)