Modular grammar specification
Modular grammar specification
复制标题
模块化语法规范
DOI:
10.1016/j.scico.2013.09.012
复制
发表时间:
2014
影响因子:
1.3
通讯作者:
Johnstone A
中科院分区:
文献类型:
--
作者:
Johnstone A
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.
登录
查看更多内容
影响因子:
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
影响因子:
1.3
作者:
Jacob Andersen;Claus Brabrand;D. Christiansen
通讯作者:
D. Christiansen