Towards a Faster Incremental Packrat Parser
Document Type
Conference Proceeding
Publication Date
7-2019
Abstract
This work is an extension to the research done by Dubroy and Warth [1] on incremental packrat parsing. It attempts to further decrease the parse time of the incremental parser using two techniques from experimental algorithmics: algorithm and code tuning. Two modifications were introduced to the original incremental packrat parser: reduction of copy operations, and the use of an array of overlapping entries. Initial results showed that there is a significant difference between the parse times of the original parser (μ = 15.64ms, σ = 69.29ms) and the modified parser (μ = 4.60ms, σ = 69.53ms), with a t-score of t(890)=52.26 and a p -value of 9.41 ×10 -274 . This means that faster parse times are achieved when using the modified parser.
Recommended Citation
Guillermo, J. M. L., & Fernandez, P. L. (2019). Towards a faster incremental packrat parser. 2019 12th International Conference on Information Communication Technology and System (ICTS), 170–175. https://doi.org/10.1109/ICTS.2019.8850934