<meta charset="utf-8">I think what Ronni meant was that he's looking for a ChucK read-eval-print-loop, like python, irb, or even "php -a" (and of course the Lisp REPL).  That way you could do something like start out by creating a UGen and issue a command to alter its properties at the command line.<div>
<br></div><div><div>Forgive me if I'm mistaken, but I think the ChucK compilation cycle prevents such a thing from existing on a language level, and the lack of an eval statement would make it impossible to allow you to execute arbitrary statements within a running shred.</div>
<div><br></div><div>Can a ChucK script be written to take command-line arguments or read/write text to a file?  You could potentially write ChucK scripts to take command-line arguments that modify static data that is being read from in a running shred.</div>
<div><br></div></div><div>


<div><br><br><div class="gmail_quote">On Tue, Jan 4, 2011 at 1:08 PM, Stephen Sinclair <span dir="ltr"><<a href="mailto:radarsat1@gmail.com" target="_blank">radarsat1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>On Tue, Jan 4, 2011 at 9:34 AM, kurt <<a href="mailto:sobrilliant@gmail.com" target="_blank">sobrilliant@gmail.com</a>> wrote:<br>
> Yes,<br>
><br>
> see here:<br>
> <a href="http://wiki.cs.princeton.edu/index.php/ChucK/Dev/Shell" target="_blank">http://wiki.cs.princeton.edu/index.php/ChucK/Dev/Shell</a><br>
><br>
> Mac and Linux try:<br>
> %> chuck --shell<br>
> in a terminal.<br>
><br>
> No completion or history though so get ready to type.<br>
<br>
</div>rlwrap -r chuck --shell<br>
<br>
Much better.  A proper completion file for rlwrap would probably help though.<br>
<br>
Steve<br>
<div><div></div><div>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br></div>
</div>