DocumentCode :
2893774
Title :
A constructive formalization of the catch and throw mechanism
Author :
Nakano, Hiroshi
Author_Institution :
Fac. of Sci. & Technol., Ryukoku Univ., Otsu, Japan
fYear :
1992
fDate :
22-25 Jun 1992
Firstpage :
82
Lastpage :
89
Abstract :
The catch/throw mechanism, a programming construct for nonlocal exit, plays an important role when programmers handle exceptional situations. A constructive formalization that captures the mechanism in the proofs-as-programs notion is given. A modified version of LJ equipped with inference rules corresponding to the operations of catch and throw is introduced. Then it is shown that one can actually extract programs that made use of the catch/throw mechanism from proofs under a certain realizability interpretation. Although the catch/throw mechanism provides only a restricted access to the current continuation, the formulation remains constructive
Keywords :
inference mechanisms; programming theory; LJ; catch/throw mechanism; exceptional situations; inference rules; nonlocal exit; programming construct; proofs-as-programs; realizability; Calculus; Computer languages; Logic; Programming profession;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Logic in Computer Science, 1992. LICS '92., Proceedings of the Seventh Annual IEEE Symposium on
Conference_Location :
Santa Cruz, CA
Print_ISBN :
0-8186-2735-2
Type :
conf
DOI :
10.1109/LICS.1992.185522
Filename :
185522
Link To Document :
بازگشت