首页> 外文会议>International conference on software language engineering >Object Grammars Compositional and Bidirectional Mapping between Text and Graphs
【24h】

Object Grammars Compositional and Bidirectional Mapping between Text and Graphs

机译:文本和图形之间的对象语法组成和双向映射

获取原文

摘要

Object Grammars define mappings between text and object graphs. Parsing recognizes syntactic features and creates the corresponding object structure. In the reverse direction, formatting recognizes object graph features and generates an appropriate textual presentation. The key to Object Grammars is the expressive power of the mapping, which decouples the syntactic structure from the graph structure. To handle graphs, Object Grammars support declarative annotations for resolving textual names that refer to arbitrary objects in the graph structure. Predicates on the semantic structure provide additional control over the mapping. Furthermore, Object Grammars are compositional so that languages may be defined in a modular fashion. We have implemented our approach to Object Grammars as one of the foundations of the Enso system and illustrate the utility of our approach by showing how it enables definition and composition of domain-specific languages (DSLs).
机译:对象语法定义了文本和对象图之间的映射。解析识别语法特征并创建相应的对象结构。在相反的方向上,格式识别对象图特征并生成适当的文本表示形式。对象语法的关键是映射的表达能力,它使句法结构与图结构脱钩。为了处理图形,对象语法支持声明性注释,用于解析引用图形结构中任意对象的文本名称。语义结构上的谓词提供了对映射的附加控制。此外,对象语法是组合的,因此可以以模块化的方式定义语言。我们已经将对象语法的方法实现为Enso系统的基础之一,并通过展示它如何实现域专用语言(DSL)的定义和组合来说明该方法的实用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号