Abstract
A ‘lazy’ variant of the functional programming language HOPE was implemented for use on the SIEMENS PC-MX2. HOPE offers considerable security to the programmer due to the absence of side effects and its type concept which combines static type checking with the advantages of a flexible typing scheme known as ‘polymorphism’.
The language implementation is embedded in an interactive environment. Programs may be built up from individual pieces in incremental fashion. For execution the functional program is incrementally translated into term rewrite rules based on supercombinators introduced by J.Hughes.
Zusammenfassung
Eine ‘lazy’ Variante der funktoinalen Programmiersprache HOPE wurde unter SINIX auf dem Siemens PC-MX2 implementiert. Dank ihrer Seiteneffektfreiheit und eines Typkonzepts, das statische Typüberprüfung mit den Vorteilen eines flexiblen Typkonzepts, ‘Polymorphismus’ genannt, kombiniert, bietet HOPE dem Programmierer ein beträchtliches Maß an Sicherheit.
Die Sprachimplementierung ist in eine interaktive Umgebung eingebettet. Programme werden im Dialog aus einzelnen Teilen aufgebaut. Auf der Grundlage der von J.Hughes eingeführten Superkombinatoren wird das funktionale Programm inkrementell in Termersetzungsregeln übersetzt und ausgeführt.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Literatur
Bach, H.J.; Baston, M.; Hickel, G.; Lucks, A.; Müller, F.: Ein interaktives Programmiersystem für eine getype funktionale Programmiersprache, implementiert durch Superkombinatoren und Baumtransformatoren SFB 124, Report 31/1985.
Burstall, R.M.; MacQueen, D.B.; Sanella, D.T.: HOPE: An Experimental Applicative Language Univ. of Edinburgh, Rep. CSR-62–80, 1980.
Hughes, R. J. M.: Super Combinators: A New Implementation Method for Applicative Languages ACM Symp. on LISP and Functional Programming, 1982.
Huet, G.; Levy, J.-J.: Call by need computations in non-ambiguous linear term rewriting systems. IRIA Rapport No. 359, 1979.
Jones S.L.P. The Implementation of Functional Programming Languages Prentice Hall, 1987
Lucks A. Übersetzung in Kombinatoren und Rückübersetzung in Implementierung funktionaler und logischer Programmiersprachen Bericht Nr. 8603, Uni Kiel, Mai 1986
Turner, D.A.: A New Implementation Technique for Applicative Languages Software Practice and Experience, vol.9? 1979
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1988 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Baston, M., Bach, HJ., Lucks-Baus, A., Müller, F., Wilhelm, R. (1988). Implementierung der funktionalen Programmiersprache HOPE mit Hilfe von Kombinatoren. In: Gollan, B., Paul, W.J., Schmitt, A. (eds) Innovative Informations-Infrastrukturen. Informatik-Fachberichte, vol 184. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-74116-6_8
Download citation
DOI: https://doi.org/10.1007/978-3-642-74116-6_8
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-50334-7
Online ISBN: 978-3-642-74116-6
eBook Packages: Springer Book Archive