@hackage ajhc0.8.0.7

Haskell compiler that produce binary through C language

Ajhc - arafura-jhc Build Status

A fork of jhc. And also a Haskell compiler.

This project is founded by Metasepi Project.

How to install

$ cabal install ajhc

How to build latest version

$ sudo apt-get install make locales autoconf libreadline-dev libwww-perl libconfig-yaml-perl \
  graphviz haskell-platform pandoc hscolour po4a libghc-temporary-dev libghc-haskeline-dev
  libghc-utf8-string-dev libghc-hssyck-dev libghc-test-framework-th-dev libghc-test-framework-hunit-dev
  libghc-test-framework-quickcheck2-dev libgc-dev gcc-multilib valgrind
$ git clone git://github.com/ajhc/ajhc.git
$ cd ajhc
$ git checkout arafura
$ autoreconf -i
$ ./configure
$ make
$ make install

For developing

First, you should use the arafura branch, rather than master branch.

You should send patch to jhc, if testing on Ajhc is good.

$ darcs get http://repetae.net/repos/jhc
$ cd jhc/
$ patch -p1 < ~/yourfile.patch
$ darcs record -a
$ darcs send

The command darcs send sends email the patch to jhc author (= John Meacham).

Perhaps you can get internal overview with following compile flow image:

Needing to install/build on Windows (experimental)

Install msys

http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/

Install below.

  • C Compiler
  • MSYS Basic System
  • MinGW Developer ToolKit

You should run cabal install on msys console.

Install Git for Windows

http://msysgit.github.com/

It's good choosing the below option.

  • "Checkout as-is, commit as-is"
  • "Run Git and included Unix tools from the Windows Command Prompt"

Install Haskell Platform

http://www.haskell.org/platform/windows.html

Future plan

Yet

Done