Loading [a11y]/accessibility-menu.js
Grammars with macro-like productions | IEEE Conference Publication | IEEE Xplore

Grammars with macro-like productions


Abstract:

Two new classes of grammars based on programming macros are studied. Both involve appending arguments to the intermediate symbols of a context-free grammar. They differ o...Show More

Abstract:

Two new classes of grammars based on programming macros are studied. Both involve appending arguments to the intermediate symbols of a context-free grammar. They differ only in the order in which nested terms may be expanded: IO is expansion from the inside-out; OI from the outside-in. Both classes, in common with the context-free, have decidable emptiness and derivation problems, and both are closed under the operations of union, concatenation, Kleene closure (star), reversal, intersection with a regular set, and arbitrary homomorphism. OI languages are also closed under inverse homomorphism while IO languages are not. We exhibit two languages, one of which is IO but not OI and the other OI but not IO, showing that neither class contains the other. However, both trivially contain the class of context-free languages, and both are contained in the class of contextsensitive languages. Finally, the class of OI languages is identical to the class of indexed languages studied by Aho, and indeed many of the above. theorems about OI languages follow directly from the equivalence.
Date of Conference: 15-18 October 1968
Date Added to IEEE Xplore: 18 July 2008
Print ISSN: 0272-4847
Conference Location: Schenedtady, NY, USA

Contact IEEE to Subscribe

References

References is not available for this document.