Control delimiters and their hierarchies
Control delimiters and their hierarchies
复制标题
控制分隔符及其层次结构
DOI:
10.1007/bf01806126
复制
发表时间:
1990
期刊:
影响因子:
--
通讯作者:
M. Felleisen
中科院分区:
文献类型:
--
作者:
Dorai Sitaram;M. Felleisen
Since control operators for theunrestricted transfer of control are too powerful in many situations, we propose thecontrol delimiter as a means for restricting control manipulations and study its use in Lisp- and Scheme-like languages. In a Common Lisp-like setting, the concept of delimiting control provides a well-suited terminology for explaining different control constructs. For higher-order languages like Scheme, the control delimiter is the means for embedding Lisp control constructs faithfully and for realizing high-level control abstractions elegantly. A deeper analysis of the examples suggests a need for an entirecontrol hierarchy of such delimiters. We show how to implement such a hierarchy on top of the simple version of a control delimiter.