Personal tools

Yhc/Introduction

From HaskellWiki

< Yhc(Difference between revisions)
Jump to: navigation, search
(Prerequisites)
m (Fixed source repository url for yhc)
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
* scons
 
* scons
 
* darcs
 
* darcs
  +
* lots of patience
   
 
== Downloading Yhc ==
 
== Downloading Yhc ==
Line 13: Line 14:
 
The current development version is available online. Please note that yhc is still not finished, so don't expect a full polished compiler yet!
 
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/yhc
+
darcs get --partial http://darcs.haskell.org/york-compiler98/
   
 
== Contacts ==
 
== Contacts ==
Line 25: Line 26:
 
== Ports ==
 
== Ports ==
   
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 [[Yhc/Porting|the Yhc porting guide]], its usually about 10 minutes work!
+
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 [[Yhc/Porting|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 - Tom Shackell
Line 31: Line 32:
 
* Windows/x86 - [[User:NeilMitchell|Neil Mitchell]]
 
* Windows/x86 - [[User:NeilMitchell|Neil Mitchell]]
 
* Mac OS X/PPC - Tom Davie
 
* Mac OS X/PPC - Tom Davie
  +
* Mac OS X/PPC64 - non-working
  +
* Mac OS X/x86 - untested
 
* OpenBSD/x86 - Donald Bruce Stewart
 
* OpenBSD/x86 - Donald Bruce Stewart
  +
* FreeBSD/x86 - non-working
 
* Irix/mips64 - Donald Bruce Stewart
 
* Irix/mips64 - Donald Bruce Stewart
 
* Solaris - IurieCn / phys_rules
 
* Solaris - IurieCn / phys_rules
Line 41: Line 45:
 
[[Yhc]] is (C) 1996-2005 its contributors, which include Tom Shackell, [[User:NeilMitchell|Neil Mitchell]], Andrew Wilkinson, Mike Dodds, Tom Davie and more.
 
[[Yhc]] is (C) 1996-2005 its contributors, which include Tom Shackell, [[User:NeilMitchell|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-2004.
+
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 [http://haskell.org/nhc98/copyright.html 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.
 
Yhc is released under the the [http://haskell.org/nhc98/copyright.html 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 ==
  +
  +
[[Media:Yhc-presentation-2006_feb_09.pdf|Yhc Presentation]] - 09 Feb 2006, Tom Shackell

Latest revision as of 11:44, 12 February 2010

Part of Yhc

(Download)

Contents

[edit] 1 Prerequisites

To build yhc from source, you will require:

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

[edit] 2 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/

[edit] 3 Contacts

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.

[edit] 4 Ports

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]

[edit] 5 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.


[edit] 6 Introductory Material

Yhc Presentation - 09 Feb 2006, Tom Shackell