ACL2中的多态类型
Polymorphic Types in ACL2
摘要:
本文介绍了一个工具套件的ACL 2程序设计语言,其中包括某些想法从欣德利-米尔纳范式的函数式编程(如流行的语言,如ML和Haskell),包括一个“类型化”的编程风格的能力,定义多态类型。这些思想通过宏引入到ACL 2语言中,利用ACL 2的保护检查机制对函数定义和定理进行类型检查。最后,我们将讨论如何使用这些宏来实现Specware,软件规范和实现系统的功能。
英文摘要:
This paper describes a tool suite for the ACL2 programming language which incorporates certain ideas from the Hindley-Milner paradigm of functional programming (as exemplified in popular languages like ML and Haskell), including a "typed" style of programming with the ability to define polymorphic types. These ideas are introduced via macros into the language of ACL2, taking advantage of ACL2's guard-checking mechanism to perform type checking on both function definitions and theorems. Finally, we discuss how these macros were used to implement features of Specware, a software specification and implementation system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。