首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:Rapid Prototyping Formal Systems in MMT: 5 Case Studies
  • 本地全文:下载
  • 作者:Dennis Müller ; Florian Rabe
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2019
  • 卷号:307
  • 页码:40-54
  • DOI:10.4204/EPTCS.307.5
  • 语种:English
  • 出版社:Open Publishing Association
  • 摘要:Logical frameworks are meta-formalisms in which the syntax and semantics of object logics and related formal systems can be defined. This allows object logics to inherit implementations from the framework including, e.g., parser, type checker, or module system. But if the desired object logic falls outside the comfort zone of the logical framework, these definitions may become cumbersome or infeasible. Therefore, the MMT system abstracts even further than previous frameworks: it assumes no type system or logic at all and allows its kernel algorithms to be customized by almost arbitrary sets of rules. In particular, this allows implementing standard logical frameworks like LF in MMT. But it does so without chaining users to one particular meta-formalism: users can flexibly adapt MMT whenever the object logic demands it. In this paper, we present a series of case studies that do just that, defining increasingly complex object logics in MMT. We use elegant declarative logic definitions wherever possible, but inject entirely new rules into the kernel when necessary. Our experience shows that the MMT approach allows deriving prototype implementations of very diverse formal systems very easily and quickly.
国家哲学社会科学文献中心版权所有