The ajhc package

[Tags: gpl, library, program]

Ajhc is a fork of jhc. The jhc is a haskell compiler which aims to produce the most efficient programs possible via whole program analysis and other optimizations.

The jhc is very minimalist in that it does not have a precompiled run time system, but rather generates what is needed as part of the compilation process. However, back ends do have specific run-time representations of data, which can be affected by things like the choice of garbage collector.

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

[Skip to ReadMe]


Change logNone available
Dependenciesajhc, array, base (>=4.0 && <5), binary, bytestring, containers, derive, directory, fgl, filepath, haskeline, HsSyck, HTTP, mtl, network, old-time, pretty, process, random, regex-compat, syb, temporary, unix, utf8-string, Win32, zlib [details]
AuthorJohn Meacham <>
MaintainerKiwamu Okabe <>
Home page
Source repositoryhead: git clone
Executablesjahm, ajhc
UploadedWed Jun 19 18:10:07 UTC 2013 by KiwamuOkabe
Downloads2426 total (69 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees

Readme for ajhc-

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://
$ 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
$ 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

Install below.

You should run cabal install on msys console.

Install Git for Windows

It's good choosing the below option.

Install Haskell Platform

Future plan