/ajhc

A fork of jhc.

Primary LanguageHaskellOtherNOASSERTION

Ajhc - arafura-jhc Build Status

A fork of jhc. And also Haskell compiler.

This project is founded by Metasepi Project.

How to install

$ sudo apt-get install make locales autoconf libreadline-dev \
  libwww-perl libconfig-yaml-perl graphviz haskell-platform drift pandoc \
  libghc-readline-dev libghc-utf8-string-dev libghc-hssyck-dev libghc-pandoc-dev
$ git clone git://github.com/ajhc/ajhc.git
$ cd ajhc
$ git checkout arafura
$ autoreconf -i
$ ./configure
$ make
$ sudo make install

For developing

Please 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).

Future plan

Done

Yet

  • Rewrite Cortex-M3 base library with Ajhc.
  • Pass all regress test, and enable regress fail setting on travis-ci. https://travis-ci.org/ajhc/ajhc
  • Analyze jhc internal (Japanese doc). http://metasepi.masterq.net/posts/2013-01-31-jhc_internal_overview.html
  • Find critical region of Ajhc for reentrant and thread safe.
  • Port Haskell libraries on haskell-platform to Ajhc.
  • Understand jhc's region inference.
  • Find the method to implement GC that can be interrupted.
  • Get smaller RTS. Benchmark the RTS for running on custom FPGA CPU.
  • Start rewritng NetBSD kernel with Ajhc.