Hello,
currently I'm playing around with transformations of YHC core files. I would like to run the resulting programs, but the haskellwiki page says that Yhc can't compile Yhc Core files to bytecode. Is there a quick-and-dirty way to use the functions that already exist in the YHC codebase for this? I don't need fancy compiler options or something like that, I just want to test small example programs.
Thanks,
Holger
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
Hi
I am just starting to learn Haskell (and FP in general). I've printed
a copy of Yet Another Haskell Tutorial[1], and I wanted to work
through it simultaneously using Ghc and Yhc. I've done this so far:
% darcs get --partial http://darcs.haskell.org/yhc
% scons
But I get this error:
> darcs get --partial --repo-name=depends/cpphs http://www.cs.york.ac.uk/fp/yhc/dependencies/cpphs
>
> darcs failed: Failed to download URL http://www.cs.york.ac.uk/fp/yhc/dependencies/cpphs/_darcs/patches/200512201…
> : HTTP response code said error
Running scons again give the following output:
> 40> ../Documents/Development/haskell/yhc % scons
> scons: Reading SConscript files ...
> Building version 0.7.0-20080514104547-custom.
> Checking for architecture... (cached) x86
> Checking for operating system... (cached) darwin
> Checking for Subversion binary... (cached) "svn"
> Checking for Subversion version... (cached) Found version 1.5.0.
> Checking for GHC binary... (cached) "ghc"
> Checking for GHC version 6.4.1 or later... (cached) Found version
> 6.8.3.
> Checking for C header file gmp.h... (cached) yes
> Checking for mpz_t integ; mpz_init (integ) in C library gmp...
> (cached) yes
> Checking for libgmp version... (cached) 4.2.2
>
> scons: warning: The env.TargetSignatures() method is deprecated;
> convert your build to use the env.Decider() method instead.
> File "/Users/ashleymoran/Documents/Development/haskell/yhc/
> SConstruct", line 87, in <module>
> Bootstrapping...
> build/SConscript.cpphs -> depends/cpphs/SConscript
> Done.
>
> scons: warning: The env.Copy() method is deprecated; use the
> env.Clone() method instead.
> File "/Users/ashleymoran/Documents/Development/haskell/yhc/depends/
> ctypes/libffi/SConscript", line 6, in <module>
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: *** Source `depends/ctypes/libffi/src/x86/ffi_darwin.c' not
> found, needed by target `depends/ctypes/libffi/src/x86/
> ffi_darwin.o'. Stop.
> scons: building terminated because of errors.
Can anyone help me get Yhc building?
Thanks
Ashley
[1] http://en.wikibooks.org/wiki/Haskell/YAHT
--
http://www.patchspace.co.uk/http://aviewfromafar.net/
Hi,
I have uploaded patches for issues 110
(http://code.google.com/p/yhc/issues/detail?id=110) and 139
(http://code.google.com/p/yhc/issues/detail?id=139) Can someone please
check them.
For issue 139 I heavily borrowed from the GHC code to implement some of
the primitive functions for Floats and Doubles. Is that ok?
Also can someone please explain to me how multiplication for floats and
doubles is done. I can see the call to primIntMul for Integers but I
haven't found anything for floats and doubles.
Regards,
Stephan Hoermann
Hello,
The last build that I have recorded for my Yhc buildbot slave happened more
than a month ago. Lately, I have not been able to contact the Yhc buildbot
site. So, what's the status of the Yhc buildbot setup?
Thanks and regards
Thorkil