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

Re: Several comments

This page is part of the web mail archives of SRFI 22 from before July 7th, 2015. The new archives for SRFI 22 contain all messages, not just those from before July 7th, 2015.



>>>>> "Marc" == Marc Feeley <feeley@xxxxxxxxxxxxxxxx> writes:

Marc> A third alternative, which is my least favorite is to pin down the
Marc> name of the entry point, for example "script-main".  A script would
Marc> look like this

Marc>   #! /bin/sh
Marc>   "exec" "scheme-script" "$0" "$@"
Marc>   (define (script-main arg1 arg2)
Marc>     (write (+ (string->number arg1) (string->number arg2))))

Marc> and "scheme-script" would always invoke "script-main" after loading a
Marc> script.

I can imagine going with that.  Opinions, anyone else?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla