Abstract
It is shown that any well-defined attribute grammar isk-visit for somek. Furthermore it is shown that given a well-defined grammarG and an integerk, it is decidable whetherG isk-visit. Finally we show that thek-visit grammars specify a proper hierarchy with respect to translations.
Similar content being viewed by others
References
G. V. Bochmann, “Semantic evaluation from left to right,”Comm. ACM 19, 55–62, 1976.
J. Engelfriet and G. Filè, “The formal power of one-visit attribute grammars” Memorandum 286, Twente University of Technology, 1979.
M. Jazayeri, W. F. Ogden and W. C. Rounds, “The intrinsically exponential complexity of the circularity problem for attribute grammars,”Comm. ACM 18, 697–706, 1975.
M. Jazayeri and K. G. Walter, “The alternating semantic evaluator,” Proceedings of the ACM 1975 Annual Conference, 230–234, 1975.
M. Kastens, “Ordered attribute grammars,”Acta Informatica, vol. 13, Fasc. 3, 229–256, 1980.
K. Kennedy and S. K. Warren, “Automatic generation of efficient evaluators for attribute grammars,” Conference Record of the Third ACM Symposium on Principles of Programming Languages, 32–49, 1976.
D. E. Knuth, “Semantics of context-free languages,”Math. Syst. Theory 2, 127–145, 1968. “Semantics of context-free languages: correction,”Math. Syst. Theory 5, 95–96, 1971.
B. H. Mayoh, “Attribute grammars and mathematical semantics,” DAIMI PB-90, Dept. of Comp. Sci., Aarhus University, 1978.
H. Riis, “Subclasses of attribute grammars,” DAIMI PB-114, Dept. of Comp. Sci., Aarhus University, 1980.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Riis, H., Skyum, S. k-visit attribute grammars. Math. Systems Theory 15, 17–28 (1981). https://doi.org/10.1007/BF01786970
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01786970