Abstract
Statically-typed object-oriented compiled languages, like Simula, Beta, Eiffel, are desirable because of the safety and efficiency of the resulting code. Dynamically-typed, interpreted languages, like Smalltalk, are useful as they provide the possibility of dynamically extending a program. In this paper, we reconcile the safety and efficiency goals of compiled languages with the benefits of interpreted languages by presenting an embeddable interpreter for a compiled language, namely Beta. The interpreter is designed to be embedded into any compiled Beta application, thus enabling it to accept dynamic extensions. This paper examines the Application Programmer's Interface to the interpreter and illustrate some aspects of our implementation.
Research supported by the Danish Research Programme for Informatics, grant number 5.26.18.19
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
O. Agesen and S. Frølund. Dynamic Link and Load as a Basis for Implementing Extensibility. Technical report, Aarhus University, December 1989.
O. Agesen, S. Frølund, and M. H. Olsen. Persistent and Shared Objects in BETA. Technical Report DAIMI IR-89, Computer Science Department, Aarhus University, Denmark, April 1989. Master's thesis.
G. Birwistle, O. Dahl, B. Myrhaug, and K. Nygaard. Simula Begin. Auerbach Publishers (New York), 1973.
D. M. Betz. XScheme: An Object-Oriented Scheme. Technical report, P.O. Box 144, Peterborough, NH, 1989.
S. Chiba and T. Masuda. Designing an Extensible Distributed Language with a Meta-Level Architecture. In Proceedings of the European Conference on Object-Oriented Programming (ECOOP), Kaiserslautern, Germany, July 1993.
M. A. Ellis and B. Stroustrup. C++ Reference Manual. Addison-Wesley Publishing Company, 1990.
K. Grønbæk, A. Hviid, and R. H. Trigg. ApplBuilder — an Object-Oriented Application Generator Supporting Rapid Prototyping. In Proceedings of the Fourth International Conference on Software Engineering and its Applications, Toulouse, December 1991.
A. Goldberg and D. Robson. Smalltalk-80. The Language and its Implementation. Addison-Wesley Publishing Company, 1983.
G. Hedin. Incremental Semantic Analysis. PhD thesis, Department of Computer Science, Lund University, March 1992.
G. Hedin. Personal Communication, March 1993.
G. Hedin and B. Magnusson. Incremental Execution in a Programming Environment based on Compilation. In Proceedings of the 19th Hawaii International Conference on System Sciences, January 1986.
G. Hedin and B. Magnusson. Supporting Exploratory Programming in Simula. In Proceedings of the Fifteenth SIMULA Conference, Jersey, pages 73–88, September 1987.
G. Kiczales, J. des Rivières, and D. G. Bobrow. The Art of the Metaobject Protocol MIT Press, Cambridge, MA, 1991.
S. E. Keene. Object-Oriented Programming in Common Lisp: A Programmer's Guide to CLOS. Addison-Wesley Publishing Company, 1989.
M. Løfgren and B. Magnusson. An Execution Environment for Simula on a Small Computer. Technical Report LUTFD2/(TFCS-3006)/1-96/1984, Department of Computer Science, Lund University, Sweden, March 1984.
Lund Software House AB, Box 7056, S-220 07 Lund, Sweden. SIMULA User's Guide, 1992.
O. L. Madsen. The Implementation of BETA. In Object-Oriented Software Development Environments: The Mjølner Approach. Prentice Hall International, 1993. To be published.
B. Magnusson. The Mjølner Orm system. In Object-Oriented Software Development Environments. Prentice Hall International, 1993. To be published.
B. Meyer. Object-oriented Software Construction. Prentice Hall International, 1988. Series in Computer Science. ISBN 0-13-629031-0.
Mjølner Informatics. The Mjølner BETA System — The BETA Source-level Debugger-User's Guide, 1992. MIA 92-12.
Mjølner Informatics. The Mjølner BETA System, Reference Manual, 1992. MIA 90-04(1.0).
Mjølner Informatics. Sif, A Hyper Structure Editor, User's Guide, 1993. MIA 91-11(1.0).
O. L. Madsen, B. Magnusson, and B. Møller-Pedersen. Strong Typing of Object-Oriented Languages Revisited. In Proceedings of OOPSLA/ECOOP '90, pages 140–149, October 1990. SIGPLAN Notices, Volume 25, Number 10.
O. L. Madsen, B. Møller-Pedersen, and K. Nygaard. Object Oriented Programming in the BETA Programming Language. Addison-Wesley Publishing Company, 1993.
C. Nørgaard and E. Sandvad. Reusability and Tailorability in the Mjølner BETA System. Technical Report DAIMI PB-300, Aarhus University, January 1990.
R. M. Stallman. Emacs: The extensible, customizable, self-documenting display editor. In Interactive Programming Environments. McGraw-Hill, 1984.
R. Stallman. GNU Emacs Manual. Free Software Foundation, 1985.
C. L. Zarmer and C. Chew. Frameworks for Interactive, Extensible, Information-Intensive Applications. In Proceedings of UIST'92, pages 33–41, November 1992.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Malhotra, J. (1993). Dynamic extensibility in a statically-compiled object-oriented language. In: Nishio, S., Yonezawa, A. (eds) Object Technologies for Advanced Software. ISOTAS 1993. Lecture Notes in Computer Science, vol 742. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-57342-9_80
Download citation
DOI: https://doi.org/10.1007/3-540-57342-9_80
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-57342-5
Online ISBN: 978-3-540-48075-4
eBook Packages: Springer Book Archive