From: Eric M. <ema...@la...> - 2003-10-27 17:55:35
|
>>>>> "ma" == Marco Antoniotti <ma...@cs...> writes: ma> Wasn't there some code around for CMUCL (or was it CLisp) that defined ma> ma> #! /usr/bin/lisp-program !# ma> ma> to do just that? ma> ma> If I remeber correctly, this would allow you to have more complex ma> argument passing to to lisp program. I wrote (or rather adapted from something written by Olin Shivers) a trampoline program that makes this possible for CMUCL. There are comments in the file that explain how it works. The actual syntax is ,---- | #!/usr/bin/cmucl-trampoline \ | -quiet -batch -noinit | #! | | (format t "Hello world~%") `---- <URL:http://www.chez.com/emarsden/downloads/cmucl-trampoline.c> -- Eric Marsden <URL:http://www.laas.fr/~emarsden/> |