[Haskell-cafe] ANNOUNCE: Utrecht Haskell Compiler (UHC) -- first release

Antoine Latter aslatter at gmail.com
Sat Apr 18 16:44:20 EDT 2009


On Sat, Apr 18, 2009 at 9:03 AM,  <atze at cs.uu.nl> wrote:
>            Utrecht Haskell Compiler -- first release, version 1.0.0
>            ========================================================
>
>
> The UHC team is happy to announce the first public release of the
> Utrecht Haskell Compiler (UHC). UHC supports almost all Haskell98
> features plus many experimental extensions. The compiler runs on MacOSX,
> Windows (cygwin), and various Unix flavors.
>
> Features:
>
>  * Multiple backends, including a bytecode interpreter backend and a
>    GRIN based, full program analysing backend, both via C.
>
>  * Experimental language extensions, some of which have not been
>    implemented before.
>
>  * Implementation via attribute grammars and other high-level tools.
>
>  * Ease of experimentation with language variants, thanks to an
>    aspect-oriented internal organisation.
>
>
> Getting started & Download
> --------------------------
>
> UHC is available for download as source distribution via the UHC home
> page:
>
>        http://www.cs.uu.nl/wiki/UHC
>
> Here you will also find instructions to get started.
>
>
> Status of the implementation
> ----------------------------
>
> Like any university project UHC is very much work in progress. We feel
> that it is mature and stable enough to offer to the public, but much
> work still needs to be done; hence we welcome contributions by others.
>
> UHC grew out of our Haskell compiler project (called Essential Haskell
> Compiler, or EHC) over the past 5 years. UHC internally is organised as
> a combination of separate aspects, which makes UHC very suitable to
> experiment with; it is relatively easy to build compilers for
> sublanguages, or to generate related tools such as documentation
> generators, all from the same code base. Extensions to the language can
> be described separately, and be switched on or of as need arises.
>
>
> Warning
> -------
>
> Although we think  that the compiler is stable enough to compile
> subtantial Haskell programs, we do not recommend yet to use it for any
> serious development work in Haskell. We ourselves use the GHC as a
> development platform! We think however that it provides a great platform
> for experimenting with language implementations, language extensions,
> etc.
>
>
> Mailing lists
> -------------
>
> For UHC users and developers respectively:
>
>        http://mail.cs.uu.nl/mailman/listinfo/uhc-users
>        http://mail.cs.uu.nl/mailman/listinfo/uhc-developers
>
>
> Bug reporting
> -------------
>
> Please report bugs at:
>
>        http://code.google.com/p/uhc/issues/list
>
>
> The UHC Team
>
>
> --
> Atze Dijkstra, Department of Information and Computing Sciences. /|\
> Utrecht University, PO Box 80089, 3508 TB Utrecht, Netherlands. / | \
> Tel.: +31-30-2534118/1454 | WWW  : http://www.cs.uu.nl/~atze . /--|  \
> Fax : +31-30-2513971 .... | Email: atze at cs.uu.nl ............ /   |___\
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>

After running "./configure" on my Intel Mac (running OS 10.5.6 with
GHC 6.10), I try to run "make uhc" and get the following:

>>>>>
$ make uhc
src/ruler2/files.mk:34: build/ruler2/files-ag-d-dep.mk: No such file
or directory
src/ruler2/files.mk:35: build/ruler2/files-ag-s-dep.mk: No such file
or directory
mkdir -p build/shuffle ; \
	 --module=CDoc -dr  -Psrc/shuffle/ -o build/shuffle/CDoc.hs src/shuffle/CDoc.ag
/bin/sh: --module=CDoc: command not found
make: Failed to remake makefile `build/ruler2/files-ag-s-dep.mk'.
make: Failed to remake makefile `build/ruler2/files-ag-d-dep.mk'.
make EHC_VARIANT=`echo install/101/bin/ehc | sed -n -e
's+install/\([0-9_]*\)/bin/ehc.*+\1+p'` ehc-variant
src/ruler2/files.mk:34: build/ruler2/files-ag-d-dep.mk: No such file
or directory
src/ruler2/files.mk:35: build/ruler2/files-ag-s-dep.mk: No such file
or directory
mkdir -p build/shuffle ; \
	 --module=CDoc -dr  -Psrc/shuffle/ -o build/shuffle/CDoc.hs src/shuffle/CDoc.ag
/bin/sh: --module=CDoc: command not found
make[1]: Failed to remake makefile `build/ruler2/files-ag-s-dep.mk'.
make[1]: Failed to remake makefile `build/ruler2/files-ag-d-dep.mk'.
make EHC_VARIANT_RULER_SEL="((101=HS)).(expr.base patexpr.base
tyexpr.base decl.base).(e.int e.char e.var e.con e.str p.str)" \
	  ehc-variant-dflt
src/ruler2/files.mk:34: build/ruler2/files-ag-d-dep.mk: No such file
or directory
src/ruler2/files.mk:35: build/ruler2/files-ag-s-dep.mk: No such file
or directory
mkdir -p build/shuffle ; \
	 --module=CDoc -dr  -Psrc/shuffle/ -o build/shuffle/CDoc.hs src/shuffle/CDoc.ag
/bin/sh: --module=CDoc: command not found
make[2]: Failed to remake makefile `build/ruler2/files-ag-s-dep.mk'.
make[2]: Failed to remake makefile `build/ruler2/files-ag-d-dep.mk'.
make[1]: *** [ehc-variant] Error 2
make: *** [install/101/bin/ehc] Error 2
<<<<<

This is fairly bewildering.  Am I the only one seeing errors like this?


Thanks,
Antoine

Also:
>>>>>
$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for powerpc-apple-darwin9.0
<<<<<

>>>>>
$ sh --version
GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0)
Copyright (C) 2005 Free Software Foundation, Inc.
<<<<<


More information about the Haskell-Cafe mailing list