scsh-users
[Top] [All Lists]

Re: Cannot load DOODL

To: scsh-news@zurich.ai.mit.edu
Subject: Re: Cannot load DOODL
From: Andreas Voegele <voegelas@gmx.net>
Date: Wed, 30 Apr 2003 12:41:13 +0200
Darren Bane writes:

> I don't use the OO paradigm that often, but ended up hacking YASOS
> from SLIB to live in a Scheme 48 module for those times that I do.
> I figured this would be more portable anyway (i.e. to every impl
> that supports SLIB).

That's a good idea.  I thought about using SLIB anyway.

I'd like to port my package buid system from shell scripts to scsh and
I think that it makes sense to use the OO paradigm.  The base case is
the packages that can be built with autoconf and make.  Packages that
need different or additional build instructions are derived from the
base case.

On the other hand, I could simply overwrite default top-level
definitions with package specific definitions.  For example, I could
complete the default definitions

 (define name #f)
 (define licenses '("GPL-2"))
 (define (build)
   (&& (sh configure ,configure-options)
       (make)))

with

 (define name "scsh")
 (define licenses '("BSD-style License"))

Hm, this approach is much simpler.  I'll probably do it this way.

<Prev in Thread] Current Thread [Next in Thread>