Skip to main content

Using the generative aspect of attribute grammars in a knowledge based way

  • Conference paper
  • First Online:
Attribute Grammars, Applications and Systems (SAGA School 1991)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 545))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Christiansen, H.: The syntax and semantics of extensible languages, Datalogske Skrifter, Roskilde, No. 14, 1988.

    Google Scholar 

  2. Deransart, P.; Maluszynsk, J.: Relating Logic Programs and Attribute Grammars, Journal of Logic Programming, 2(2), 1985.

    Google Scholar 

  3. Fedele, C.; Lecarme, L.: Computer — aided building of compiler: an example, in: Proc. of Compiler Compiler, Schwerin, 1990.

    Google Scholar 

  4. Forbrig, P.; Lämmel, U.: Knowledge Based Program Generation Using Attributed Grammars, in: Proc. bit'89, Berlin, 1989.

    Google Scholar 

  5. Forbrig, P.: Ein Konzept zur Wiederverwendung von Dokumenten der Strukturierten Analyse, in: Proc. Requirement Engineering'91, Marburg, 1991.

    Google Scholar 

  6. Hrycej, T.: A knowledge-based problem-specific program generator, SIGPLAN Notices, 11(2)1987, p. 53.61.

    Google Scholar 

  7. Knuth, D.: Semantics of context-free languages, Mathematical systems Theorie, 2(1)1968, p. 127–145.

    Article  Google Scholar 

  8. Levision, M.; Lessand, G.: Application of Attribute Grammars to Natural Language Sentence Generation, Lecture Notes in Computer Science, Vol. 461, p. 298–312.

    Google Scholar 

  9. Riedewald, G.; Forbrig, P.: Software Specification and Attribute Grammars, Acta Cybernetica, 8(1)1987, p. 89–114.

    Google Scholar 

  10. Riedewald, G.: Prototyping by using an Attribute Grammar as a Logic Program, in this volume.

    Google Scholar 

  11. Warren, D.: Logic Programming and Compiler Writing, Software Practice and Experience, vol. 10, 1980.

    Google Scholar 

  12. Watt, D. A.; Madson, O. L.: Extended Attribute Grammars, The Computer Journal, 16(2)1983.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Henk Alblas Bořivoj Melichar

Rights and permissions

Reprints 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

Publish with us

Policies and ethics