首页> 外文会议>International Conference on Intelligent Computer Mathematics >Representing Structural Language Features in Formal Meta-languages
【24h】

Representing Structural Language Features in Formal Meta-languages

机译:在形式元语言中表示结构语言特征

获取原文

摘要

Structural language features are those that introduce new kinds of declarations as opposed to those that only add expressions. They pose a significant challenge when representing languages in metalanguages such as standard formats like OMDoc or logical frameworks like LF. It is desirable to use shallow representations where a structural language feature is represented by the analogous feature of the metalanguage, but the richness of structural language features in practical languages makes this difficult. Therefore, the current state of the art is to encode unrepresentable structural language features in terms of more elementary ones, but that makes the representations difficult to reuse and verify. This challenge is exacerbated by the fact that many languages allow users to add new structural language features that are elaborated into a small trusted kernel, which allows for a large and growing set of features. In this paper we extend the Mmt representation framework with a generic concept of structural features. This allows defining exactly the language features needed for elegant shallow embeddings of object languages. The key achievement here is to make this concept expressive enough to cover complex practical features while retaining the simplicity of existing meta-languages. We exemplify our framework with representations of various important structural features including datatype definitions and theory instantiations.
机译:结构语言功能是那些引入新型声明的功能,而不是那些仅添加表达式的功能。当以元语言表示语言时,例如OMDoc之类的标准格式或LF之类的逻辑框架,它们构成了重大挑战。理想的是使用浅表述,其中结构语言特征由元语言的类似特征表示,但是结构语言特征在实用语言中的丰富性使其难以实现。因此,当前的技术水平是用更基本的语言来编码无法表示的结构语言特征,但是这使得表示难以重用和验证。许多语言都允许用户添加新的结构化语言功能,这些功能已被细化到一个小的受信任内核中,从而允许大量且不断增长的功能,这一事实加剧了这一挑战。在本文中,我们使用结构特征的通用概念扩展了Mmt表示框架。这允许精确定义对象语言的优雅浅层嵌入所需的语言功能。此处的关键成就是使该概念具有足够的表达力,以涵盖复杂的实用功能,同时保留现有元语言的简单性。我们以各种重要结构特征(包括数据类型定义和理论实例化)的表示形式来举例说明我们的框架。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号