This communication sets the problem of incremental parsing in the context of a complete incremental compiling system. It turns out that, according to the incrementally paradigm of the attribute evaluator and data-flow analyzer to be used, two definitions of optimal incrementality in a parser are possible. Algorithms for achieving both forms of optimality are given, both of them based on ordinary LALR1995 parse tables. Optimality and correctness proofs, which are merely outlined in this communication, are made intuitive thanks to the concept of a well-formed list of threaded trees, a natural extension of the concept of threaded tree found in earlier works on incremental parsing. © 1995, ACM. All rights reserved.
CITATION STYLE
Larchevêque, J. M. (1995). Optimal Incremental Parsing. ACM Transactions on Programming Languages and Systems (TOPLAS), 17(1), 1–15. https://doi.org/10.1145/200994.200996
Mendeley helps you to discover research relevant for your work.