Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Code Generators

    C->Haskell 0.15.1

    Download button

    No screenshots available
    Downloads: 691  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.3/5)
    13 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Manuel M T Chakravarty | More programs
    GPL / FREE
    January 18th, 2008, 09:22 GMT
    ROOT / Programming / Code Generators

     Read user reviews (0)  Refer to a friend  Subscribe

    C->Haskell description

    C->Haskell is an interface generator that simplifies the development of Haskell bindings to C libraries.

    C->Haskell is an interface generator that simplifies the development of Haskell bindings to C libraries. It processes existing C header files that determine data layout and function signatures on the C side in conjunction with Haskell modules that specify Haskell-side type signatures and marshaling details.

    Hooks embedded in the Haskell code signal access to C structures and functions -- they are expanded by the interfacing tool in dependence on information from the corresponding C header file. Another noteworthy property is the lightweight nature of the approach. The idea for the tool was developed during the implementation of Gtk+HS, a Haskell binding for the GUI toolkit GTK+. The latter is no longer under active development, but its successor, Gtk2Hs, also uses C->Haskell.

    The generator is implemented using the Compiler Toolkit and in particular the self-optimising lexer and parser combinators of the toolkit. The use of the toolkit simplified the implementation of C->Haskell considerably.

    Requirements:

    · The Glasgow Haskell Compiler

    Installation:

    % tar -xzf < package >.tar.gz # unpack the sources
    % cd < package > # change to the toplevel directory
    % runghc Setup.hs configure # configure the build system
    % runghc Setup.hs build # build everything
    [ Become root if necessary ]
    % runghc Setup.hs install # install c2hs

    If you are installing from darcs, please read the corresponding section below
    first.

    What's New in This Release:

    · This release builds with GHC 6.4 through to 6.8 and also properly supports OpenBSD and Windows. Moreover, the documentation has been updated.



    Product's homepage

      


    TAGS:

    interface generator | code generator | Haskell bindings | interface | code | generator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM