Abstract
Managed execution frameworks, such as the .NET Common Language Runtime or the Java Virtual Machine, provide a rich environment for the creation of application programs. These execution environments are ideally suited for languages that depend on type-safety and the declarative control of feature access. Furthermore, such frameworks typically provide a rich collection of library primitives specialized for almost every domain of application programming. Thus, when a new language is implemented on one of these frameworks it becomes necessary to provide some kind of mapping from the new language to the libraries of the framework. The design of such mappings is challenging since the type-system of the new language may not span the domain exposed in the library application programming interfaces (APIs).
The nature of these design considerations was clarified in the implementation of the Gardens Point Component Pascal (gpcp) compiler. In this paper we describe the issues, and the solutions that we settled on in this case. The problems that were solved have a wider applicability than just our example, since they arise whenever any similar language is hosted in such an environment.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Gosling, J., Joy, B., Steele, G.: The Java Language Specification. Addison-Wesley, Reading (1997)
Lindholm, T., Yellin, F.: The Java Virtual Machine Specification. Addison-Wesley, Reading (1997)
Oberon Microsystems, Component Pascal Language Report, available from http://www.oberon.ch/resources
Mössenböck, H., Wirth, N.: The Programming Language Oberon-2. Structured Programming 12, 179–195
Microsoft, .NET Common Language Infrastructure. Also as ECMA standard ECMA-335, available from http://www.ecma.ch/publications/standards/ecma-335
Microsoft, C# Language. Also as ECMA standard ECMA-334, available from http://www.ecma.ch/publications/standards/ecma-335
John Gough, K., Corney, D.: Evaluating the Java Virtual Machine as a Target for Languages other than Java. In: Joint Modula Languages Conference, Zurich (2000)
John Gough, K.: Stacking them up:AComparison ofVirtual Machines. In: Australian Computer Systems and Architecture Conference, Gold Coast, Australia (February 2001), Also available from, http://www.citi.qut.edu.au/research/plas/projects/cp_files
Gough, J.: Compiling for the.NET Common Language Runtime. Prentice-Hall PTR, Upper Saddle River (2002)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Gough, K.J., Corney, D. (2003). Leveraging Managed Frameworks from Modular Languages. In: Böszörményi, L., Schojer, P. (eds) Modular Programming Languages. JMLC 2003. Lecture Notes in Computer Science, vol 2789. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45213-3_20
Download citation
DOI: https://doi.org/10.1007/978-3-540-45213-3_20
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40796-6
Online ISBN: 978-3-540-45213-3
eBook Packages: Springer Book Archive