Static scoping embodies a strong encapsulation mechanism for hiding the details of program units. Yet, it does not allow the sharing of variable bindings (locations) across independent program units. Facilities such as module and object systems that require cross references of variables therefore must be added as special features. In this paper we present an alternative: quasi-static scoping. Quasi-static scoping is more flexible than static scoping, but has the same encapsulation mechanism. The user can control when and in what scope to resolve a quasi-static variable, i.e., to associate it with a variable binding. To demonstrate its versatility, we add quasi-static scoping to Scheme and show how to build the aforementioned facilities at the user-level. We also show that quasi-static scoping can be implemented efficiently.
静态作用域体现了一种强大的封装机制,可以隐藏程序单元的详细信息。但是,它不允许跨独立程序单元共享变量绑定(位置)。因此,必须将需要交叉引用变量的功能(如模块和对象系统)添加为特殊功能。在本文中,我们提出了一种替代方案:准静态作用域。准静态作用域比静态作用域更灵活,但是具有相同的封装机制。用户可以控制何时以及在什么范围内解决准静态变量,即将其与变量绑定相关联。为了展示其多功能性,我们在Scheme中添加了准静态作用域,并展示了如何在用户级别构建上述功能。我们还表明,可以有效地实现准静态作用域。 P>
机译:通过预测校正器准静态法通过多项式插值放松准静态方法
机译:Sapura获得新合同马来西亚公司Sapura Energy已获得新合同和扩展合同,总价值达7.74亿林吉特(1.848亿美元),Josh Lewis写道。在新合同中,有一份由文莱壳牌石油公司(BSP)在Salman项目中授予的工程,采购,建筑和安装合同。合同分为两个范围,即Salman新建范围和Egret East新建范围。
机译:营养和饮食学的业务范围。 (特刊:注册营养师或注册营养师营养师的全面实践资源/注册营养师的全面实践资源。)
机译:赢得的范围管理:将人员和精力视为资源的软件项目的范围绩效评估
机译:为基本项目建立范围预算和范围持续时间一致性的预先设计方法。
机译:微流体准静态扩展流中的界面张力测量
机译:SA1066范围范围:内窥镜工作通道损伤/碎片的内窥镜评估使用新颖的灵活检测范围和自动化干燥和司徒单反应对工作通道流体残留的影响