Suppose a parse state S has multiple actions for a terminal lookahead symbol A. Then during incremental parsing, while in state S, the parser should not reuse a non-terminal lookahead B where FIRST(B) contains A, because reusing B might prematurely discard one of the possible actions that a batch parser would have attempted in state S, upon seeing A as a lookahead. |
||
|---|---|---|
| .. | ||
| build_tables | ||
| helpers | ||
| prepare_grammar | ||
| rules | ||
| util | ||
| compile_examples.cc | ||
| compile_spec.cc | ||
| compiler_spec_helper.h | ||
| compiler_specs.cc | ||