The Hs2lib package
The supplied PreProcessor can be run over any existing source and would generate FFI code for every function marked to be exported by the special notation documented inside the package. It then proceeds to compile this generated code into a lib.
The Library contains some helper code that's commonly needed to convert between types, and contains the code for the typeclasses the PreProcessor uses in the generated code to keep things clean.
It will always generated the required C types for use when calling the dll, but it will also generate the C# unsafe code if requested.
A replacement for this library is in development and will eventually replace this
Does NOT support x64 bit versions of GHC. This will be added in future versions if enough demand exist.
You cannot export functions which have the same name (even if they're in different modules because 1 big hsc file is generated at the moment, no conflict resolutions)
You cannot export datatypes with the same name, same restriction as above.
Does not support automatic instance generation for infix constructors yet
List of Lists are not supported (concat them first).
NOTE: Package is now working again, but I have fixed the version of haskell-src-exts to prevent it from breaking again.
|Versions||0.4.8, 0.5.0, 0.5.1, 0.5.2, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.6.0, 0.6.1, 0.6.3 (info)|
|Change log||None available|
|Dependencies||array (>=0.2.0.0), base (==4.*), cereal (>=0.3.0.0), containers (>=0.2.0.0), directory (>=188.8.131.52), filepath (>=184.108.40.206), ghc (>=7.8.3), ghc-paths (>=0.1.0.5), haddock (>=2.7.2), haskell-src-exts (>=1.13.5 && <=220.127.116.11), mtl (>=18.104.22.168), old-locale (>=22.214.171.124), process (>=126.96.36.199), QuickCheck (>=188.8.131.52), random (>=184.108.40.206), syb (>=0.1.0.2), time (>=220.127.116.11) [details]|
|Author||Tamar Christina <tamar (at) zhox.com>|
|Maintainer||Tamar Christina <tamar (at) zhox.com>|
|Executables||Hs2lib-testgen, Hs2lib-debug, Hs2lib|
|Uploaded||Tue Jan 27 11:58:10 UTC 2015 by TamarChristina|
|Downloads||1894 total (103 in last 30 days)|
Build status unknown [no reports yet]
For package maintainers and hackage trustees