首页> 外文会议> >A Language Specification Tool for Model-Based Parsing
【24h】

A Language Specification Tool for Model-Based Parsing

机译:用于基于模型的解析的语言规范工具

获取原文
获取原文并翻译 | 示例

摘要

Typically, formal languages are described by providing a textual BNF-like notation specification, which is then manually annotated for syntax-directed translation. When the use of an explicit model is required, its implementation requires the development of the conversion steps between the model and the grammar, and between the parse tree and the model instance. Whenever the language specification is modified, the developer has to manually propagate changes throughout the entire language processor pipeline. These updates are time-consuming, tedious, and error-prone. Besides, in the case that different applications use the same language, the developer has to maintain several copies of the same language specification. In this paper, we introduce a model-based parser generator that decouples language specification from language processing, hence avoiding many of the problems caused by grammar-driven parsers and parser generators.
机译:通常,形式语言是通过提供类似文本的BNF的注释规范来描述的,然后手动注释以进行语法指导的翻译。当需要使用显式模型时,其实现需要开发模型与语法之间以及解析树与模型实例之间的转换步骤。无论何时修改语言规范,开发人员都必须在整个语言处理器管道中手动传播更改。这些更新是耗时,乏味且容易出错的。此外,在不同的应用程序使用相同语言的情况下,开发人员必须维护相同语言规范的多个副本。在本文中,我们介绍了一种基于模型的解析器生成器,该生成器将语言规范与语言处理分离,从而避免了许多由语法驱动的解析器和解析器生成器引起的问题。

著录项

  • 来源
    《》|2011年|p.50-57|共8页
  • 会议地点 Norwich(GB);Norwich(GB)
  • 作者单位

    Department of Computer Science and Artificial Intelligence, CITIC, University of Granada, Granada 18071, Spain;

    Department of Computer Science and Artificial Intelligence, CITIC, University of Granada, Granada 18071, Spain;

    Department of Computer Science and Artificial Intelligence, CITIC, University of Granada, Granada 18071, Spain;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 计算机网络;
  • 关键词

    language specification; parser generator; model-driven software development (MDSD);

    机译:语言规范;解析器生成器;模型驱动的软件开发(MDSD);

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号