Skip to main content

ASDL — An object-oriented specification language for syntax-directed environments

  • III — The Internals Of Environments: The Bones
  • Conference paper
  • First Online:
ESEC '87 (ESEC 1987)

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

Included in the following conference series:

  • 149 Accesses

Abstract

ASDL is a formalism to specify syntax-directed programming environments. The language is the heart of a language-independent kernel system, which is based on an environment database and offers a uniform user interface. ASDL is designed to ease the extension of the kernel system by new languages and by new language dependent tools. It unifies concepts of syntax-directed translation and object-oriented programming. This is achieved by identifying syntactic categories with types and translation rules with generic operations on such types. Each type is associated with translation rules, attributes, and relations, which are shared by all instances of the type. Translation rules are recursively defined in terms of other rules and semantic actions. Semantic actions are non-generic imported operations that are defined in a host language. A translation scheme is viewed as an operation that maps its rules over an abstract syntax tree. Translation schemes allow the designer to define traversal strategies, to clip and prune syntax trees and to modify attributes and relations solely in terms of their conceptual representation. An initial prototype of the kernel system was implemented on Lisp machines.

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. A.V. Aho, J.D. Ullman: The Theory of Parsing, Translation, and Compiling, I+II, Prentice-Hall, Englewood Cliffs, N.J., 1972

    Google Scholar 

  2. D.G. Bobrow et al.: CommonLoops: Merging Lisp and Object-Oriented Programming. in: SIGPLAN Notices Special Issue: ACM Proc. of OOPSLA 86 Conf., 21(11): 17–29, 1986

    Google Scholar 

  3. M.L. Christ-Neumann et al.: ASDL — A Specification Language for Syntax-Directed Environments, GRASPIN Technical Paper, GMD 16/5, Sankt Augustin, 1986

    Google Scholar 

  4. L. Cardelli: A Semantics of Multiple Inheritance. in: Kahn G. and MacQueen D.B. and Plotkin G. (ed.): Semantics of Data Types, LNCS 173, Springer-Verlag, Berlin, Heidelberg, New York, 51–67, 1984

    Google Scholar 

  5. G. Curry et al.: Traits: An Approach to multiple-inheritance subclassing. in: Limb (Ed.): ACM Proc. of SIGOA Conf. on office automation systems, 1–9, 1982

    Google Scholar 

  6. V. Donzeau-Gouge et al.: Programming environment based on structured editors: The Mentor experience, INRIA Research Report 26, 1980

    Google Scholar 

  7. Epsilon: SEEK — A Software Engineering Kernel: Reference Manual, Epsilon, Berlin, 1984

    Google Scholar 

  8. G. Kahn et al.: Metal: A Formalism to Specify Formalisms, Science of Computer Programming 3, 151–188, 1983

    Google Scholar 

  9. U. Kastens: Ordered attribute grammars. Acta Informatica, 13(3), 229–256, 1980.

    Google Scholar 

  10. D. Knuth: Semantics of context-free languages. Mathematical Systems Theory, 2(2), 127–145, 1968.

    Google Scholar 

  11. R. Medina-Mora, P. Feiler: An incremental programming environment. IEEE Trans. Softw. Eng. SE-7, 5, 472–482, 1981

    Google Scholar 

  12. D.A. Moon: Object-oriented programming with FLAVORS. in: SIGPLAN Notices Special Issue: ACM Proc. of OOPSLA 86 Conf., 21(11), 1–8, 1986

    Google Scholar 

  13. M.P. Papazoglou, C. Hoffmann: Towards versatile object oriented query languages. To appear: Proc. 1987 IEEE Workshop on Languages for Automation.

    Google Scholar 

  14. T. Reps, T. Teitelbaum: The Synthesizer Generator: Reference Manual, Department of Computer Science, Cornell University, Ithaca, NY 14853, 1985

    Google Scholar 

  15. C. Zaniolo et al.: Object oriented database systems and knowledge systems, in: L. Kerschberg (Ed.): Expert database systems, Benjamin/Cummings Publ. Co., 1986

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Howard Nichols Dan Simpson

Rights and permissions

Reprints and permissions

Copyright information

© 1987 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Christ-Neumann, ML., Schmidt, HW. (1987). ASDL — An object-oriented specification language for syntax-directed environments. In: Nichols, H., Simpson, D. (eds) ESEC '87. ESEC 1987. Lecture Notes in Computer Science, vol 289. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0022100

Download citation

  • DOI: https://doi.org/10.1007/BFb0022100

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-18712-7

  • Online ISBN: 978-3-540-48117-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics