arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 0901.2461cs.PLcs.SE
收藏

Grammatic --语法定义重用和模块化的工具

Grammatic -- a tool for grammar definition reuse and modularity

Andrey Breslav

摘要:

Grammatic是一个语法定义和操作工具,旨在提高语法和相关开发工件的模块化和重用。它独立于解析技术和目标系统实现的任何其他细节。Grammatic提供了一种用任意元数据(如关联性属性、语义动作或其他任何东西)注释语法的方法。它可以用作解析器生成器等外部工具的前端,以使其输入语法模块化和可重用。本文描述了Grammatic背后的主要原则,并概述了它提供的语言及其分离关注点和定义可重用模块的能力。此外,它还提供了该工具可能的用例草图。

英文摘要:

Grammatic is a tool for grammar definition and manipulation aimed to improve modularity and reuse of grammars and related development artifacts. It is independent from parsing technology and any other details of target system implementation. Grammatic provides a way for annotating grammars with arbitrary metadata (like associativity attributes, semantic actions or anything else). It might be used as a front-end for external tools like parser generators to make their input grammars modular and reusable. This paper describes main principles behind Grammatic and gives an overview of languages it provides and their ability to separate concerns and define reusable modules. Also it presents sketches of possible use cases for the tool.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑