首页    期刊浏览 2024年10月05日 星期六
登录注册

文章基本信息

  • 标题:Parsing of Hyperedge Replacement Grammars with Graph Parser Combinators
  • 本地全文:下载
  • 作者:Steffen Mazanek ; Mark Minas
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2008
  • 卷号:10
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要:Graph parsing is known to be computationally expensive. For this reason the construction of special-purpose parsers may be beneficial for particular graph languages. In the domain of string languages so-called parser combinators are very popular for writing efficient parsers. Inspired by this approach, we have proposed graph parser combinators in a recent paper, a framework for the rapid development of special-purpose graph parsers. Our basic idea has been to define primitive graph parsers for elementary graph components and a set of combinators for the flexible construction of more advanced graph parsers. Following this approach, a declarative, but also more operational description of a graph language can be given that is a parser at the same time. In this paper we address the question how the process of writing correct parsers on top of our framework can be simplified by demonstrating the translation of hyperedge replacement grammars into graph parsers. The result are recursive descent parsers as known from string parsing with some additional nondeterminism.
国家哲学社会科学文献中心版权所有