ajhc: Haskell compiler that produce binary through C language

[ compiler, gpl, library, program ] [ Propose Tags ]

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]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.8.0.1, 0.8.0.3, 0.8.0.4, 0.8.0.5, 0.8.0.6, 0.8.0.7, 0.8.0.8, 0.8.0.9, 0.8.0.10
Dependencies ajhc, 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]
License GPL-2.0-only
Author John Meacham <john@repetae.net>
Maintainer Metasepi team <metasepi@gmail.com>
Category Compiler
Home page http://ajhc.metasepi.org/
Bug tracker http://github.com/ajhc/ajhc/issues
Source repo head: git clone https://github.com/ajhc/ajhc.git
Uploaded by KiwamuOkabe at 2013-09-02T07:13:51Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables jahm, ajhc
Downloads 9332 total (24 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for ajhc-0.8.0.8

[back to package description]

Ajhc - arafura-jhc Build Status

A fork of jhc. And also a Haskell compiler.

This project is founded by Metasepi Project.

How to install

$ sudo apt-get install haskell-platform libncurses5-dev gcc m4
$ cabal install ajhc

How to build latest version

$ sudo apt-get install make locales autoconf libreadline-dev \
  libconfig-yaml-perl graphviz haskell-platform cpphs 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 libghc-uniplate-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