From HaskellWiki
< Yhc
Revision as of 11:44, 12 February 2010 by Gimbo (talk | contribs) (Fixed source repository url for yhc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Part of Yhc



To build yhc from source, you will require:

  • GHC
  • any C compiler
  • python
  • scons
  • darcs
  • lots of patience

Downloading Yhc

The current development version is available online. Please note that yhc is still not finished, so don't expect a full polished compiler yet!

darcs get --partial http://darcs.haskell.org/york-compiler98/


There is a mailing list for general discussion, bug reports etc.

There is also a blog, where development style posts are made. This is probably better for getting a feel of the project.

There is also a bug reporting place.


The following ports have been done, and should work straight from the darcs repo, without additional modifications. If your platform is not on this list see the Yhc porting guide and give it a try, but if it doesn't work straight away (within 10 minutes), its usually best to give up, unless you are a scons expert. :-)

  • Linux/x86 - Tom Shackell
  • Linux/x86-64 - Tom Shackell + Andrew Wilkinson
  • Windows/x86 - Neil Mitchell
  • Mac OS X/PPC - Tom Davie
  • Mac OS X/PPC64 - non-working
  • Mac OS X/x86 - untested
  • OpenBSD/x86 - Donald Bruce Stewart
  • FreeBSD/x86 - non-working
  • Irix/mips64 - Donald Bruce Stewart
  • Solaris - IurieCn / phys_rules
  • Plan 9 - vegai [in progress]
  • PalmOS - stepcut [in progress]

License & Copyright

Yhc is (C) 1996-2005 its contributors, which include Tom Shackell, Neil Mitchell, Andrew Wilkinson, Mike Dodds, Tom Davie and more.

Yhc is substantially based on nhc98, which is (C) Niklas Röjemo, 1991-1998. Many parts of the nhc98 compiler, libraries, and build system were contributed or modified by Malcolm Wallace, Jan Sparud, David Wakeling, Colin Runciman, Phil Hassall, Olaf Chitil, and Thomas Nordin, and are copyright to them, their respective institutions, or funding bodies, (C) 1996-2006.

Yhc is released under the the same license as nhc, and additionally under the GPL, but programs compiled with Yhc are free from additional copyright restrictions. All contributions are assumed to be under the above license.

Introductory Material

Yhc Presentation - 09 Feb 2006, Tom Shackell