高阶过程变量的形式化类型系统和操作语义
A Formally Specified Type System and Operational Semantics for Higher-Order Procedural Variables
摘要:
我们使用Ott和Isabelle/HOL证明助手正式地定义了LOOPw的类型系统和操作语义。此外,类型系统和语义的LOOPw已经测试使用Isabelle/HOL程序提取设施归纳定义的关系。特别是,计算Ackermann函数的程序会进行类型检查并按预期运行。LOOPw的主要区别(除了选择类似于Ada的具体语法之外)来自对参数传递的处理。实际上,由于Ott目前并不完全支持alpha转换,因此我们使用显式别名来重新表述操作语义,以便实现输出参数传递模式。
英文摘要:
We formally specified the type system and operational semantics of LOOPw with Ott and Isabelle/HOL proof assistant. Moreover, both the type system and the semantics of LOOPw have been tested using Isabelle/HOL program extraction facility for inductively defined relations. In particular, the program that computes the Ackermann function type checks and behaves as expected. The main difference (apart from the choice of an Ada-like concrete syntax) with LOOPw comes from the treatment of parameter passing. Indeed, since Ott does not currently fully support alpha-conversion, we rephrased the operational semantics with explicit aliasing in order to implement the out parameter passing mode.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。