The Hs2lib package

[Tags:bsd3, library, program]

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.

Read http:blog.zhox.com/hs2lib.pdf (not published yet)

Current Restrictions:

Properties

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)
Dependencies array (>=0.2.0.0), base (==4.*), cereal (>=0.3.0.0), containers (>=0.2.0.0), directory (>=1.0.0.3), filepath (>=1.1.0.2 && <1.3), ghc (>=6.12 && <7.0 || >=7.0.2), ghc-paths (>=0.1.0.5), haddock (>=2.7.2), haskell-src-exts (>=1.9.0), mtl (>=1.1.0.2), old-locale (>=1.0.0.2), process (>=1.0.1.1), QuickCheck (>=2.1.0.1), random (>=1.0.0.1), syb (>=0.1.0.2), time (>=1.2.0.3) [details]
License BSD3
Author Tamar Christina <tamar@zhox.com>
Maintainer Tamar Christina <tamar@zhox.com>
Stability experimental
Category Development
Home page http://blog.zhox.com/category/hs2lib/
Uploaded Thu Aug 11 01:21:54 UTC 2011 by TamarChristina
Distributions NixOS:0.6.3
Downloads 2653 total (33 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-08 [all 5 reports]

Modules

  • WinDll
    • Debug
      • WinDll.Debug.Alloc
      • WinDll.Debug.Exports
      • WinDll.Debug.Records
      • WinDll.Debug.Stack
    • Lib
      • WinDll.Lib.Converter
      • WinDll.Lib.InstancesTypes
      • WinDll.Lib.Native
      • WinDll.Lib.NativeMapping
      • WinDll.Lib.NativeMapping_Debug
      • WinDll.Lib.Tuples
      • WinDll.Lib.Tuples_Debug
    • Structs
      • WinDll.Structs.Types

Downloads

Maintainer's Corner

For package maintainers and hackage trustees