Abstract
In this paper we introduce a method for modularizing descriptions of compilers. Modules correspond to basic language concepts such as binding of identifiers, control constructs, type concept. This allows compiler descriptions to be more easily adapted to different but related languages. The formal treatment of the method is by extending known models of abstract data type theory.
The work reported in this paper has been partially supported by the Sonderforschungsbereich 49-Programmiertechnik — at the Technical University of Munich.
Preview
Unable to display preview. Download preview PDF.
References
Goguen, J.A., Thatcher, J.W., and Wagner, E.G.: An initial algebra approach to the specification, correctness, and implementation of abstract types. Current trends in Programming Methodology, IV: Data Structuring (R.T. Yeh, ed.), Prentice Hall, 1978, pp. 80–149.
Thatcher, J.W., Wagner, E.G., and Wright, J.B.: Data type specification: parameterization and the power of specification techniques. Proc. SIGACT 10th Annual Symp. on Theory of Comp., May 1978, pp. 119–132.
Thatcher, J.W., Wagner, E.G., and Wright, J.B.: More on advice on structuring compilers and proving them correct. Proc. ICALP 1979, LNCS 71, 1979.
Ehrig, H., Kreowski, H.-J., Thatcher, J.W., Wagner, E.G., and Wright, J.B.: Parameter passing in algebraic specification languages. Proc. ICALP 1980, LNCS 85, 1980.
Burstall, R.M., and Goguen, J.A.: The semantics of CLEAR, a specification language. Version of Feb. 80. Proc. 1979 Copenhagen Winter School in Abstract Software Specifications.
Broy, M., and Wirsing, M.: Algebraic definition of a functional programming language and its semantic models. Techn. Univ. München, Rep. TUM-I8008, 1980.
Chirica, L.M., Martin, D.F.: An algebraic formulation of Knuthian semantics. Proc. 17th IEEE Symp. on FOCS, 1977, pp.127–136.
McCarthy, J., Painter, J.: Correctness of a compiler for arthmetic expressions. Math. Aspects of Comp. Sci., Proc. Symp. in Appl. Math., 19 (1967), pp.33–41.
Ganzinger, H.: Increasing modularity and language-independency in automatically generated compilers. Report TUM-I83., TU München, 1983, in print.
Gaudel, M.-C.: Correctness proof of programming language translation. In D. BjØrner (ed.): Proc. IFIP TC2 Work. Conf. on Formal Description of Programming Concepts II, Garmisch-Partenkirchen 1982, to be published by North-Holland Publ. Co.
Guttag, J., Horowitz, W., and Musser, D.: Abstract data types and software validation. Com. ACM, 21, 12 (1978), 1043–1064.
Goguen, J.A.: Some design principles and theory for OBJ-O. Proc. Int. Conf. on Math. Studies of Inf. Proc, Kyoto, 1978.
Goguen, J.A., Parsay-Ghomi, K.: Algebraic denotational semantics using parameterized abstract modules. LNCS 107, Springer 1981, 292–309.
Knuth, D.E.: Semantics of context-free languages. Math. Systems Theory 2, (1968), 127–145.
Lipeck, U.: An algebraic calculus for structured design of data abstractions (in German). PhD-Thesis, Univ. Dortmund, 1982.
Morris, F.L.: Advice on structuring compilers and proving them correct. Proc. POPL, Boston 1973, pp. 144–152.
Mosses, P.: A constructive approach to compiler correctness. LNCS 94, Springer 1980.
Mosses, P.: Abstract semantic algebras! In D. BjØrner (ed.): Proc. IFIP TC2 Work. Conf. on Formal Description of Programming Concepts II, Garmisch-Partenkirchen 1982, to be published by North-Holland Publ. Co.
Raoult, J.-C., Sethi, R.: On metalanguages for a compiler generator. Proc. ICALP 1982, Aarhus.
Wand, M.: First-order identities as a defining language. Techn. Rep. 29, Comp. Sci. Dept., Indiana Univ., Bloomington, Indiana, 1979.
Wand, M.: Semantics-directed machine architecture. Proc. POPL 1982.
Zilles, S.N.: An introduction to data algebras. Working draft paper. IBM Research, San Jose, 1975.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1983 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ganzinger, H. (1983). Modular compiler descriptions based on abstract semantic data types (Extended Abstract). In: Diaz, J. (eds) Automata, Languages and Programming. ICALP 1983. Lecture Notes in Computer Science, vol 154. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0036912
Download citation
DOI: https://doi.org/10.1007/BFb0036912
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-12317-0
Online ISBN: 978-3-540-40038-7
eBook Packages: Springer Book Archive