[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Several comments
>>>>> "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
I can imagine going with that. Opinions, anyone else?
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla