<div dir="ltr">Hello Robby,<br><br>Thanks for your reply. I can get racket file.rkt working. I want to test some or a particular definition in the racket file with a particular input.<br><br>Say, the racket file is file.rkt<br>
<br>***********<br>(define (twice x)<br> (* 2 x))<br><br>and so on....<br><br>**********<br><br>I want to test if (twice 2) is 4 from the command line.<br><br>Thanks for the help.<br>Colum<br><br><div class="gmail_quote">
On Thu, Sep 23, 2010 at 2:55 PM, Robby Findler <span dir="ltr"><<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Say "racket file.rkt".<br>
<br>
You can find the docs here:<br>
<br>
<a href="http://docs.racket-lang.org/reference/running-sa.html#%28part._mz-cmdline%29" target="_blank">http://docs.racket-lang.org/reference/running-sa.html#%28part._mz-cmdline%29</a><br>
<br>
Robby<br>
<div><div></div><div class="h5"><br>
On Thu, Sep 23, 2010 at 1:51 PM, A Z <<a href="mailto:ukbc57@gmail.com">ukbc57@gmail.com</a>> wrote:<br>
> I want to make a script that tests a bunch of racket programs in different<br>
> .rkt files. I went through the documentation but I do not get any<br>
> information about how to run racket programs from command line. Please help<br>
> me.<br>
> Thanks,<br>
> Colum<br>
</div></div>> _________________________________________________<br>
> For list-related administrative tasks:<br>
> <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
><br>
</blockquote></div><br></div>