packages feed

hdirect

An IDL compiler for Haskell

view on Hackage

HaskellDirect is an IDL compiler for Haskell, which offers a helping hand to the Haskell programmer that wants to better interact with and reuse external code. Interfacing Haskell code to external code involves the conversion of values between the Haskell world and the outside, as data representations and details of how memory is managed, are worlds apart at times. Manually writing the boilerplate code that takes care of this conversion is about as exciting as watching grass grow and, as a result, error prone. Using an Interface Definition Language (IDL) as basis, HaskellDirect automates the generation of such impedance matching code, generating all the necessary marshaling code for you. With IDL, the functionality provided by a programming interface is specified in a programming language neutral framework. The HaskellDirect IDL compiler converts this specification into a set of method stubs. Depending on how the compiler is invoked, these stubs can be used to: * Call upon external functions from within Haskell, HaskellDirect creates bindings to external (C-callable) libraries. * Let external code call upon Haskell functions, HaskellDirect creates foreign/external language interfaces to Haskell libraries. * Call COM (Microsoft's Component Object Model) methods from Haskell, HaskellDirect helps you use Microsoft COM components from within Haskell. The generated stubs can be used with Hugs98 or GHC. * Create COM method wrappers, HaskellDirect packages up Haskell code as COM components. The HaskellDirect IDL compiler currently groks both the OSF DCE dialect of IDL (including the various extensions introduced by the Microsoft IDL compiler) and the OMG IIOP/CORBA dialect. (Only the former can be used for describing COM interfaces.)
versionuploadeduploaderchanges
0.21.02010-02-14 21:10 UTCDonaldStewart1 revisions+64964/−0 lines, 149 filesdep +arraydep +basedep +haskell98setup-changed

Dependencies of hdirect-0.21.0

array >=0 0.5.7.0 → 0.5.8.0
2024-09-08 07:13 UTC0.5.8.0+204/−8 lines, 6 filesdep ~basePVP ok
2024-04-12 14:38 UTC0.5.7.0+34/−17 lines, 9 filesdep ~basePVP: major bump suggested
2023-07-10 15:24 UTC0.5.6.0+159/−39 lines, 8 filesdep ~basenew-uploaderPVP ok
2023-02-13 16:01 UTC0.5.5.0+8/−4 lines, 3 filesdep ~basenew-uploaderPVP ok
2019-09-01 06:48 UTC0.5.4.0+33/−8 lines, 5 filesdep ~basesetup-changedPVP: major bump suggested

showing 5 of 18 versions

base >=2 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

haskell98 <1.2 1.1.0.1 → 2.0.0.3 newer than bounds
2014-03-22 12:21 UTC2.0.0.3 newer than bounds+167/−95 lines, 34 filesdep ~arraydep ~basedep ~directorynew-uploaderPVP: major bump suggested
2012-09-06 18:07 UTC2.0.0.2 newer than bounds+3/−3 lines, 2 filesdep ~basedep ~directoryPVP: major bump suggested
2012-02-02 23:15 UTC2.0.0.1 newer than bounds+356/−234 lines, 33 filesdep ~arraydep ~old-timedep ~timePVP: major bump suggested
2011-08-25 12:29 UTC2.0.0.0 newer than bounds+728/−18 lines, 6 filesdep +timedep −randomdep ~basedep ~processPVP ok
2011-03-03 15:09 UTC1.1.0.1+8/−3 lines, 1 filesdep ~arraydep ~directorydep ~old-localePVP: major bump suggested

showing 5 of 9 versions

pretty <1.2 1.1.3.5 → 1.1.3.6
2018-01-29 04:01 UTC1.1.3.6+101/−5 lines, 7 filesdep +criteriondep +prettydep ~basePVP: major bump suggested
2017-02-03 23:16 UTC1.1.3.5+8/−3 lines, 3 filesPVP ok
2016-06-03 18:38 UTC1.1.3.4+26/−4 lines, 6 filesPVP: major bump suggested
2016-02-29 19:00 UTC1.1.3.3+165/−109 lines, 7 filesPVP: major bump suggested
2015-03-19 09:15 UTC1.1.3.2+27/−25 lines, 6 files

showing 5 of 17 versions

Reverse dependencies

1 packages depend on hdirect

acme-everything 2018.11.18 requires hdirect >=0