Structuring the GLL parsing algorithm for performance
Structuring the GLL parsing algorithm for performance
复制标题
构建 GLL 解析算法以提高性能
DOI:
10.1016/j.scico.2016.04.003
复制
发表时间:
2016
影响因子:
1.3
通讯作者:
Scott E
中科院分区:
文献类型:
--
作者:
Scott E
GLL (Generalised LL) parsing algorithms provide a sequentialisation of recursive-descent style parsing that yields efficient, compiled parsers which admit any context free grammar, including left recursive and non-left-factored rules. The resulting parsers retain the ‘recursively decent’ property that the structure of the parser closely follows the structure of the grammar; as such it is feasible to debug grammars by tracing the corresponding GLL parser using a conventional code debugger.In this paper we develop two variants of the GLL algorithm called FGLL and RGLL which respectively support (i) efficient parsing of factorised grammars and (ii) parsing using a reduced set of descriptors. Both techniques yield significant speed up on programming language grammars compared to the base GLL algorithm. We also discuss the ordering of descriptor processing and its effects on performance.
登录
查看更多内容
DOI:
10.1016/j.scico.2012.03.005
发表时间:
2013-10
期刊:
Sci. Comput. Program.
影响因子:
--
作者:
E. Scott;A. Johnstone
通讯作者:
E. Scott;A. Johnstone
DOI:
--
发表时间:
2013
期刊:
影响因子:
--
作者:
Ten Brink
通讯作者:
Ten Brink
DOI:
--
发表时间:
2010
期刊:
Workshop on Language Descriptions, Tools and Applications
影响因子:
--
作者:
E. Scott;A. Johnstone
通讯作者:
A. Johnstone
DOI:
--
发表时间:
2017
期刊:
影响因子:
--
作者:
T. Mailund
通讯作者:
T. Mailund
DOI:
--
发表时间:
2010
期刊:
Software Language Engineering
影响因子:
--
作者:
A. Johnstone;E. Scott
通讯作者:
E. Scott