guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: Roadmap and goals?]


From: rm
Subject: Re: address@hidden: Re: Roadmap and goals?]
Date: Mon, 22 Apr 2002 16:18:37 +0200
User-agent: Mutt/1.3.24i

On Mon, Apr 22, 2002 at 08:16:31AM -0500, Rob Browning wrote:
> address@hidden writes:
> 
> > COOL! And with schelog (prolog-like logic programming in scheme) working
> > with guile one can write all sorts of service dependencies and have the
> > schelog lsystem find the best way to get as much running as possible.
> > Any code so far?
> 
> Interesting -- I didn't know schelog already existed -- I'd thought
> about wanting a prolog-like language for Guile so that guile might be
> able to be used (for projects that guile doesn't depend on :>) as a
> Make replacement.  Wouldn't it be terrible to be able to define real
> functions in your makefile:

There are several prolog-like systems implemented in scheme, some with 
the traditional prolog syntax and some, like schelog with a more schemish
syntax. One of the nice thing about the later family: one can mix prolog
style and scheme style coding, so you can write  'server-is-running? in
scheme and leave the decission making to prolog style code.

>   (define (make-a-lib-foostyle targets deps envt)
>     ...)
> 
>   (production-rule "(.*)\.foo\.in$" " -> "$1.foo"
>    make-a-lib-foostyle)
> 
> or whatever...

That's why i have all those prologish code on my box :-) Sendme a note
if you need pointers, comments on getting stuff to run under guile.

 Ralf

> -- 
> Rob Browning
> rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
> Previously @cs.utexas.edu
> GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]