首页> 外文会议>International Conference on Software Paradigm Trends >Fence - A Context-free Grammar Parser with Constraints for Model-driven Language Specification
【24h】

Fence - A Context-free Grammar Parser with Constraints for Model-driven Language Specification

机译:栅栏 - 一个无论如何的语法解析器,具有模型驱动语言规范的约束

获取原文

摘要

Traditional language processing tools constrain language designers to specific kinds of grammars. In contrast, model-based language specification decouples language design from language processing. As a consequence, model-based language specification tools need general parsers able to parse unrestricted context-free grammars. As languages specified following this approach may be ambiguous, parsers must deal with ambiguities. Model-based language specification also allows the definition of associativity, precedence, and custom constraints. Therefore parsers generated by model-driven language specification tools need to enforce constraints. In this paper, we propose Fence, an efficient bottom-up chart parser with lexical and syntactic ambiguity support that allows the specification of constraints and, therefore, enables the use of model-based language specification in practice.
机译:传统语言处理工具限制语言设计师到特定种类的语法。相比之下,基于模型的语言规范从语言处理中解耦了语言设计。因此,基于模型的语言规范工具需要一般解析器能够解析不受限制的无系统语法。随着这种方法指定的语言可能是模糊的,解析器必须处理歧义。基于模型的语言规范还允许定义相关性,优先级和自定义约束。因此,由模型驱动语言规范工具生成的解析器需要强制执行约束。在本文中,我们提出了一个有效的自下而上的图表解析器,其中具有词汇和句法模糊的支持,允许规定的约束,因此,能够在实践中使用基于模型的语言规范。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号