Difference between revisions of "Yhc/Introduction"

From HaskellWiki
< Yhc
Jump to navigation Jump to search
(→‎Ports: Bob Davie -> Tom Davie)
m (Fixed source repository url for yhc)
 
(11 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!
   
  +
darcs get --partial http://darcs.haskell.org/york-compiler98/
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.
 
 
<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 17: 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 ==
 
== 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 26: 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 34: Line 43:
 
== 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.
  +
   
  +
== Introductory Material ==
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.
 
   
  +
[[Media:Yhc-presentation-2006_feb_09.pdf|Yhc Presentation]] - 09 Feb 2006, Tom Shackell
Yhc is released under the GPL, but programs compiled with Yhc are free from additional copyright restrictions.
 

Latest revision as of 11:44, 12 February 2010

Part of Yhc

(Download)

Prerequisites

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/

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.

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]

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