This directory contains the source distribution for the University of Melbourne
Mercury compiler, version 14.01.1.

	The Mercury implementation is free software.
	It is Copyright (C) 1993-2013 The University of Melbourne.

	The compiler and tools are distributed under the terms of the GNU
	General Public License.  See the file COPYING for copying permission.

	The Mercury libraries and runtime (the files in the library, trace,
	browser, ssdb, mdbcomp, runtime and java/runtime subdirectories) are
	distributed under the terms of the GNU Library General Public License.
	See the file COPYING.LIB for copying permissions for those files.

	If those licensing arrangements are not satisfactory, please
	contact us.  We are willing to offer alternative arrangements,
	if the need should arise.
	
The subdirectory `boehm_gc' contains a slightly modified copy of version 7.2 of
the conservative garbage collector distributed by Hans Boehm:

	Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
	Copyright (c) 1991-1995 by Xerox Corporation.  All rights reserved.
	Copyright (c) 1996-1999 by Silicon Graphics.  All rights reserved.
	Copyright (c) 1999-2001 by Hewlett-Packard. All rights reserved.

	THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
	OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.

	Permission is hereby granted to use or copy this program
	for any purpose,  provided the above notices are retained on all copies.
	Permission to modify the code and to distribute modified code is granted,
	provided the above notices are retained, and a notice that the code was
	modified is included with the above copyright notice.

	A few files have other copyright holders. A few of the files needed
	to use the GNU-style build procedure come with a modified GPL license
	that appears not to significantly restrict use of the collector, though
	use of those files for a purpose other than building the collector may
	require the resulting code to be covered by the GPL.

A few files (config.guess, config.sub) are derived from code that is
copyright by the Free Software Foundation, Inc, and are distributed
under the GNU General Public License version 2.

The program `texi2html' in the `doc' directory is copyright by CERN
and is distributed under the GNU General Public
License version 2:

	This program is the intellectual property of the European
	Laboratory for Particle Physics (known as CERN).  No guarantee
	whatsoever is provided by CERN.  No liability whatsoever is
	accepted for any loss or damage of any kind resulting from any
	defect or inaccuracy in this information or code.

The files in the `samples' directory are either public domain, or
distributed under the GNU General Public License.

THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
EXPRESSED OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.  See the file COPYING.

See the file INSTALL for installation instructions.
In some cases, additional steps may be needed for particular operating systems
or particular architectures, so first read the README file for your particular
platform, if there is one:

	README.AIX		RS/6000 systems running AIX
	README.FreeBSD		The FreeBSD version of BSD Unix on Intel x86
	README.HPUX		HPPA systems running HPUX
	README.IRIX-5		SGI IRIX version 5.x
	README.Linux		Linux on Intel x86 and x86_64
	README.Linux-Alpha	Linux on DEC Alpha
	README.Linux-PPC	Linux on PowerPC
	README.Linux-m68k	Linux on Motorola 68000
	README.MacOS		Apple Mac systems running Mac OS X
	README.MS-Windows	Microsoft Windows
	README.OSF1		DEC Alpha systems running OSF/1 version 3.x
	README.Solaris		Solaris (SunOS) on SPARC or Intel x86.

The documentation sources are in the `doc' subdirectory.  The installation
process will install INFO, HTML, and DVI versions in the locations specified
in the file Mmake.common - by default these locations are
/usr/local/mercury-14.01.1/info,
/usr/local/mercury-14.01.1/lib/mercury/html,
and /usr/local/mercury-14.01.1/lib/mercury/doc respectively.
The installation process will also install Unix-style man pages -
by default they will be installed in /usr/local/mercury-14.01.1/man/man1.
The files RELEASE_NOTES, NEWS, HISTORY, LIMITATIONS, and BUGS
also contain useful information.  If you're interested in looking
at the source code, the file compiler/notes/compiler_design.html is
a good place to start.

The `samples' directory contains some example Mercury programs.
There are also some additional Mercury programs and libraries
in the `extras' directory.

For more information about Mercury, see the Mercury WWW home page at
<http://www.mercurylang.org>, or send mail to mercury@mercurylang.org.

If you would like to join the Mercury mailing lists (there are two,
mercury-users for general discussion, and mercury-announce for
announcements), see the instructions at <http://lists.mercurylang.org>.

Please send bug reports, enhancement requests, suggestions for improvements,
and any other feedback to bugs@mercurylang.org or mercury@mercurylang.org.
If you find something you don't like, please tell us.
If you find something you do like, please tell the world!

The Mercury distribution is available via HTTP from the following location:

	Home site:
	    Australia:	http://dl.mercurylang.org/index.html
