Personal tools

Yhc/Introduction

From HaskellWiki

< Yhc(Difference between revisions)
Jump to: navigation, search
m (Fixed source repository url for yhc)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Yhc}}
 
{{Yhc}}
  +
  +
== Prerequisites ==
  +
To build yhc from source, you will require:
  +
* GHC
  +
* any C compiler
  +
* python
  +
* scons
  +
* darcs
  +
* lots of patience
   
 
== Downloading Yhc ==
 
== Downloading Yhc ==
Line 5: 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!
   
There are two versions, the stable one and the development one. If you want to contribute to Yhc, we recommend the development one. At the moment, because development is so rapid, the stable version is usually quite out of date.
+
darcs get --partial http://darcs.haskell.org/york-compiler98/
 
<pre>
 
darcs get http://www.cs.york.ac.uk/fp/darcs/yhc
 
darcs get http://www.cs.york.ac.uk/fp/darcs/yhc-devel
 
</pre>
 
   
 
== Contacts ==
 
== Contacts ==
Line 12: Line 21:
   
 
There is also a [http://yhc06.blogspot.com/ blog], where development style posts are made. This is probably better for getting a feel of the project.
 
There is also a [http://yhc06.blogspot.com/ blog], where development style posts are made. This is probably better for getting a feel of the project.
  +
  +
There is also a [http://code.google.com/p/yhc/issues/list bug reporting] place.
  +
  +
== 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]] 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 - [[User:NeilMitchell|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 ==
 
== License & Copyright ==
   
[[Yhc]] is (C) 1996-2005 its contributors, which include Tom Shackell, [[User:NeilMitchell|Neil Mitchell]], Tom Davie, Mike Dodds 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-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 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.
+
== Introductory Material ==
   
Yhc is released under the GPL, but programs compiled with Yhc are free from additional copyright restrictions.
+
[[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