Modular grammar specification

Modular grammar specification
复制标题

模块化语法规范

DOI:
10.1016/j.scico.2013.09.012
复制
发表时间:
2014
影响因子:
1.3
通讯作者:
Johnstone A
Johnstone A
中科院分区:
计算机科学4区
文献类型:
--
作者:
Johnstone A

文献摘要

参考文献

被引文献

相似文献

我们建立了一种语义,用于从模块化规范中构建语法,其中模块能够从导入的非终结符中删除结果。模块有非终结符的导入列表;进口非终端产品的部分或全部产品可能在进口时被禁止。有两种基本的导入机制(a)引用或(b)克隆导入的非终端产品。我们的目标之一是在面对诸如具有不同空格和注释约定的语言的相互嵌入等难题时,允许对“这个语法生成什么样的字符级语言”这个问题给出精确的答案。我们的技术是用传统的方式从标记级编写的语法自动生成字符级语法;语法由模块构建,每个模块都有自己的空格约定。
We establish a semantics for building grammars from a modularised specification in which modules are able to delete productions from imported nonterminals. Modules have import lists of nonterminals; some or all of an imported nonterminal's productions may be suppressed at import time. There are two basic import mechanisms which (a) reference or (b) clone an imported nonterminal's productions. One of our goals is to allow a precise answer to the question: ‘what character level language does this grammar generate’ in the face of difficult issues such as the mutual embedding of languages that have different whitespace and commenting conventions. Our technique is to automatically generate a character level grammar from grammars written at token level in the conventional way; the grammar is constructed from modules each of which may have its own whitespace convention.
银牌:可扩展的属性语法系统
DOI: --
发表时间: 2008
影响因子: 1.3
作者:
E. V. Wyk;Derek Bodin;Jimin Gao;Lijesh Krishnan
通讯作者: Lijesh Krishnan
DOI: 10.1016/j.scico.2012.03.005
发表时间: 2013-10
期刊: Sci. Comput. Program.
影响因子: --
作者:
E. Scott;A. Johnstone
通讯作者: E. Scott;A. Johnstone
DOI: --
发表时间: 1989
期刊: --
影响因子: --
作者:
J. Heering;P. Hendriks;P. Klint;J. Rekers
通讯作者: J. Heering;P. Hendriks;P. Klint;J. Rekers
通过模块化语法实现更好的可扩展性
DOI: --
发表时间: 2006
期刊: ACM-SIGPLAN Symposium on Programming Language Design and Implementation
影响因子: --
作者:
R. Grimm
通讯作者: R. Grimm
香蕉代数:组合句法语言扩展
DOI: --
发表时间: 2013
影响因子: 1.3
作者:
Jacob Andersen;Claus Brabrand;D. Christiansen
通讯作者: D. Christiansen