计算机科学 > 形式语言与自动机理论
[提交于 2018年8月27日]
标题:Simplified Parsing Expression Derivatives
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper presents a new derivative parsing algorithm for parsing expression grammars; this new algorithm is both simpler and faster than the existing parsing expression derivative algorithm presented by Moss. This new algorithm improves on the worst-case space and runtime bounds of the previous algorithm by a linear factor, as well as decreasing runtime by about half in practice. A proof of correctness for the new algorithm is included in this paper, a result not present in earlier work.
提交历史
来自:Aaron Moss[v1] 2018年8月27日 星期一 15:47:11 UTC