Decides membership in a noncontracting grammar and returns a shortest derivation when one exists. Exhaustion stays distinct from rejection. A foreign terminal is rejected without fuel.
Decides membership in a noncontracting grammar and returns a shortest derivation when one exists. Exhaustion stays distinct from rejection. A foreign terminal is rejected without fuel.