<br><div class="gmail_quote">On Tue, Jan 12, 2010 at 7:27 PM, Eli Barzilay <span dir="ltr"><<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
</div>You can use this to run the script and then enter the REPL as usual:<br>
<br>
#!/bin/sh<br>
#|<br>
exec mzscheme -it "$0"<br>
|#<br>
#lang scheme<br>
(printf "Hello\n")<br>
<br></blockquote><div><br>Very cool - thanks Eli! <br><br>A follow-on question - what do I need to do to make the script pick up command line arguments? I did a quick mod to print out current-command-line-arguments and the script is not picking up the command line args that I passed it.<br>
<br>Thanks,<br>yc<br><br></div></div>