On Mar 6, 2007, at 9:36 AM, Neil Mitchell wrote:
What about a direct interface to darcs? At least that way you could
sponge off the darcs wrapper for curl.
I have actually implemented this, I just mirrored the repos to some
web space, then execute darcs get --partial. Removes the need for
untar and wget in one step, plus much simpler.
Right on!
> 2) Compile Yhi, which requires make-style knowledge about C.
Scons had
> this built in much more, I'll need to roll my own.
Talking to Malcom, I think its under 50 lines of code, and quite nice
code at that.
Nice.
> Anyone have any thoughts?
As an alternative to using GHC to control the C-compiler, you might
consider using VCBUILD from the command line for the current
yhi .vcproj files. Towards that end, here is an unfinished module I
started writing
Compiling C with GHC will work everywhere, VC will only work on
Windows, gcc will only work (natively and normally) on Unix - hence
the attraction of GHC. Adding back VS building afterwards would be a
goal, so using your code at that point would be nice. The reason for
favouring GHC is everyone has GHC installed, while I only have VS
installed on one of my 3 development machines.
That was the direction GHC is moving in, as well: put all the
platform-specific C-compiler knowledge into GHC. At least now the
GHC Windows distribution comes with a minimal MinGW installation, as
well.
Cheers,
Pete Tanski
_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/yhc