guile-user
[Top][All Lists]
Advanced

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

Re: guile -s is it necessary?


From: Paul Jarc
Subject: Re: guile -s is it necessary?
Date: Fri, 25 Oct 2002 16:43:17 -0400
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Sven Hartrumpf <address@hidden> wrote:
> If you want to call Scheme scripts more portably, you should probably use
> SRFI-22 (but guile does not support this SRFI, yet?):
> http://srfi.schemers.org/srfi-22/srfi-22.html

I don't think it does; srfi-22 is incompatible with the existing
(and more useful, I think) interpretation of #! borrowed from scsh.
Well, almost.  Guile could decide to use the srfi-22 interpretation
when the first argument is a script name, and keep the current
behavior otherwise.  But that would be awfully ugly.  If srfi-22 is to
be supported, I'd suggest instead providing a separate guile-srfi-22
executable which accepts a script name as the first argument without
-s, and which interprets #! as a comment ending at the next newline.


paul




reply via email to

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