[Paper Review] Context-Free Grammars with Storage
This paper introduces context-free grammars with storage (CF S grammars), a unifying framework that generalizes recursive grammars, automata, and transducers by associating each nonterminal with a storage object of type S. The key contribution is the equivalence between CF S grammars and pushdown S automata, enabling a uniform characterization of formalisms like indexed grammars, tree transducers, and attribute grammars through different storage types S.
Context-free S grammars are introduced, for arbitrary (storage) type S, as a uniform framework for recursion-based grammars, automata, and transducers, viewed as programs. To each occurrence of a nonterminal of a context-free S grammar an object of type S is associated, that can be acted upon by tests and operations, as indicated in the rules of the grammar. Taking particular storage types gives particular formalisms, such as indexed grammars, top-down tree transducers, attribute grammars, etc. Context-free S grammars are equivalent to pushdown S automata. The context-free S languages can be obtained from the deterministic one-way S automaton languages by way of the delta operations on languages, introduced in this paper.
Motivation & Objective
- To unify diverse formalisms such as indexed grammars, top-down tree transducers, and attribute grammars under a single framework.
- To formalize recursion-based systems (grammars, automata, transducers) as programs with storage types S.
- To establish a correspondence between CF S grammars and pushdown S automata for any storage type S.
- To characterize context-free S languages using delta operations on deterministic one-way S automaton languages.
- To generalize classical results (e.g., Chomsky hierarchy) by introducing storage-controlled derivations and look-ahead mechanisms.
Proposed method
- Define context-free S grammars where each nonterminal is associated with a storage object of type S, and rules manipulate both the grammar and the storage via operations and tests.
- Introduce pushdown S automata as iterative programs that manipulate a pushdown with cells storing symbols and S-objects, modeling recursive procedure calls with parameters.
- Establish equivalence between CF S grammars and pushdown S automata through simulation in both directions.
- Define delta operations on languages as a new class of language operations that generate CF S languages from deterministic one-way S automaton languages.
- Use storage types such as pushdown, counter, tree, and iterated pushdown to instantiate known formalisms (e.g., indexed grammars, ETOL, top-down tree transducers).
- Introduce look-ahead on storage S to model deterministic behavior, generalizing input look-ahead and predicting machines.
Experimental results
Research questions
- RQ1How can context-free grammars be generalized to incorporate storage types S, thereby unifying grammars, automata, and transducers?
- RQ2What is the relationship between context-free S grammars and pushdown S automata for arbitrary storage types S?
- RQ3Can context-free S languages be characterized using operations on languages, particularly delta operations?
- RQ4How do specific storage types S (e.g., pushdown, tree, counter) correspond to known formalisms like indexed grammars or top-down tree transducers?
- RQ5What role does look-ahead on storage play in modeling deterministic behavior in CF S grammars?
Key findings
- Context-free S grammars are equivalent to pushdown S automata for any storage type S, providing a uniform automaton model for recursion-based systems.
- The class of context-free S languages is generated by applying delta operations to the languages accepted by deterministic one-way S automata.
- Indexed grammars correspond to CF S grammars with storage type S = pushdown, and top-down tree transducers arise from S = tree.
- The formalism captures ETOL systems via S = checking-stack, and attribute grammars via appropriate storage and rule constraints.
- Look-ahead on storage generalizes classical input look-ahead and predicting machines, enabling deterministic transduction in CF S grammars.
- The framework explains controlled grammars and transducers as storage-controlled variants, with applications to EOL and controlled linear context-free languages.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.