Rightmost frontiers of the DPDA characteristic grammar #
Rightmost derivations in the characteristic grammar have a particularly
rigid frontier. Every nonterminal strictly before the active (rightmost)
nonterminal is a single nonterminal. The active nonterminal is either
single or list; the untouched start symbol is handled separately. These
facts let the DPDA-to-LR proof recover the productive first move represented by
an arbitrary reachable prehandle.
Every nonterminal in a pending prefix is a characteristic single
nonterminal. Terminals may occur anywhere in the prefix.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Looking from the right, a pending prefix is either entirely terminal or
ends in a single nonterminal followed only by terminals.
A convenient nonterminal projection #
The complete shape invariant for a rightmost-reachable characteristic sentential form.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every prefix before a displayed rightmost nonterminal in a frontier is pending.
Every rightmost-reachable sentential form of the reduced characteristic grammar has the frontier shape above.
Classification of an arbitrary reachable characteristic prehandle. The
untouched start case is explicit; otherwise the active nonterminal is either a
single or a list, and in every case its prefix is pending.
Prefix-only form of characteristic_prehandle_classification.