1998 · 50 citations · 3 references
ComputingComputer ScienceCompilersFormal MethodsProgramming LanguagesAbstract Syntax TreesData TypesForeign Function InterfacesProgramming Language DesignType CheckingType SystemsInterface DefinitionInterface Definition LanguagesInterface Signatures
H/Direct is a foreign-language interface for Haskell that tackles the complexity of IDL mappings, which are usually described informally. The paper aims to provide a formal and precise definition of the mapping between Haskell and IDL. H/Direct compiles IDL to Haskell stub code that marshals data across the interface, avoiding reliance on host-language type signatures. The resulting system enables Haskell to call C and COM, and lets a Haskell component be wrapped in a C or COM interface.
H/Direct is a foreign-language interface for the purely functional language Haskell. Rather than rely on host-language type signatures, H/Direct compiles Interface Definition Language (IDL) to Haskell stub code that marshals data across the interface. This approach allows Haskell to call both C and COM, and allows a Haskell component to be wrapped in a C or COM interface. IDL is a complex language and language mappings for IDL are usually described informally. In contrast, we provide a relatively formal and precise definition of the mapping between Haskell and IDL.
3
Imperative functional programming
Simon Jones, Philip Wadler · 1993 · 1.2K citations · Full text
Electronics Education · 1997 · 84 citations
Green card: a foreign-language interface for Haskell
Thomas Nordin, SL Peyton Jones, Alastair Reid et al. · 1997 · 33 citations