arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.08893cs.FL
收藏

简化解析表达式导数

Simplified Parsing Expression Derivatives

Aaron Moss

摘要:

本文提出了一种新的表达式派生语法分析算法,该算法比Moss提出的表达式派生语法分析算法更简单、更快速。该算法在最坏情况下的空间和运行时间上都有了线性的改进,实际运行时间也减少了一半左右。新算法的正确性证明包括在本文中,结果不存在于早期的工作。

英文摘要:

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.

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

↑