Affiliation:
1. INRIA, Le Chesnay, France
Abstract
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 LALR(1) 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.
Publisher
Association for Computing Machinery (ACM)
Cited by
12 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Pushdown Automata and Parsing;Texts in Computer Science;2019
2. Incremental packrat parsing;Proceedings of the 10th ACM SIGPLAN International Conference on Software Language Engineering;2017-10-23
3. Parallel parsing made practical;Science of Computer Programming;2015-11
4. Pushdown Automata and Parsing;Texts in Computer Science;2013
5. Graph Transformations for MDE, Adaptation, and Models at Runtime;Formal Methods for Model-Driven Engineering;2012