Abstract
The principles of the program generation environment FLR, which has been implemented at our department, are described. The system supports the reuse of already developed specifications of various kinds and was motivated by the idea to use the source text of already running programs again. This knowledge of parts of programs or documents, which were specified already, is stored as attributed grammar rules in a database. New documents can be composed in an interactive way using this database. It is demonstrated to use FLR to generate programs and Attribute Grammars.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Christiansen, H.: The syntax and semantics of extensible languages, Datalogske Skrifter, Roskilde, No. 14, 1988.
Deransart, P.; Maluszynsk, J.: Relating Logic Programs and Attribute Grammars, Journal of Logic Programming, 2(2), 1985.
Fedele, C.; Lecarme, L.: Computer — aided building of compiler: an example, in: Proc. of Compiler Compiler, Schwerin, 1990.
Forbrig, P.; Lämmel, U.: Knowledge Based Program Generation Using Attributed Grammars, in: Proc. bit'89, Berlin, 1989.
Forbrig, P.: Ein Konzept zur Wiederverwendung von Dokumenten der Strukturierten Analyse, in: Proc. Requirement Engineering'91, Marburg, 1991.
Hrycej, T.: A knowledge-based problem-specific program generator, SIGPLAN Notices, 11(2)1987, p. 53.61.
Knuth, D.: Semantics of context-free languages, Mathematical systems Theorie, 2(1)1968, p. 127–145.
Levision, M.; Lessand, G.: Application of Attribute Grammars to Natural Language Sentence Generation, Lecture Notes in Computer Science, Vol. 461, p. 298–312.
Riedewald, G.; Forbrig, P.: Software Specification and Attribute Grammars, Acta Cybernetica, 8(1)1987, p. 89–114.
Riedewald, G.: Prototyping by using an Attribute Grammar as a Logic Program, in this volume.
Warren, D.: Logic Programming and Compiler Writing, Software Practice and Experience, vol. 10, 1980.
Watt, D. A.; Madson, O. L.: Extended Attribute Grammars, The Computer Journal, 16(2)1983.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Forbrig, P. (1991). Using the generative aspect of attribute grammars in a knowledge based way. In: Alblas, H., Melichar, B. (eds) Attribute Grammars, Applications and Systems. SAGA School 1991. Lecture Notes in Computer Science, vol 545. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-54572-7_17
Download citation
DOI: https://doi.org/10.1007/3-540-54572-7_17
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-54572-9
Online ISBN: 978-3-540-38490-8
eBook Packages: Springer Book Archive