Lambada, Haskell as a Better Java
نویسندگان
چکیده
The Lambada framework provides facilities for fluid interoperation between Haskell (currently both Hugs and GHC using non-Haskell98 extensions) and Java. Using Lambada, we can call Java methods from Haskell, and have Java methods invoke Haskell functions. The framework rests on the Java Native Interface (JNI). The Lambada release includes a tool for generating IDL from Java .class files (using reflection), which is fed into our existing HDirect to generate Haskell-callable stubs.
منابع مشابه
Interfacing Haskell with Object-Oriented Languages
The interfacing of object-oriented languages with functional languages, in general, and with Haskell, in particular, has received a considerable amount of attention. Previous work, including Lambada, a Haskell to Java bridge, showed how an object-oriented class hierarchy can be modeled using Haskell type classes, such that Java libraries can be used conveniently from Haskell. The present paper ...
متن کاملTowards a Haskell/Java Connection
This paper reports on preliminary work on a connection be tween Haskell and Java with the goal of making software components written in Java available to Haskell programmers We discuss several ap proaches but nd the Java platform surprisingly closed against other languages We decide to use an indirect approach based on proposed native interfaces for Haskell and Java and describe this in more de...
متن کاملA Haskell to Java Virtual Machine Code Compiler
For some time now, we have been interested in using Haskell to program inexpensive embedded processors, such as those in SUN's new Java family. This paper describes our rst attempt to produce a Haskell to Java Virtual Machine code compiler, based on a mapping between the G-machine and the Java Virtual Machine. Although this mapping looks good, it is not perfect, and our rst results suggest that...
متن کاملAn Embedded Haskell Subset Implementation
We provide an implementation of a Haskell [1] subset embedded within the Java programming language. The subset provides type inference, polymorphism, first-class functions, currying, and mixing of Haskell calls within Java expressions. These calls are evaluated lazily before returning to standard imperative evaluation. The implementation is via the language Genesis [2]: a Java extension that al...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 41 شماره
صفحات -
تاریخ انتشار 2000