[chuck-users] chuck for live coding

Jordan Orelli jordanorelli at gmail.com
Tue Jan 4 14:22:16 EST 2011

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.

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.

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.

On Tue, Jan 4, 2011 at 1:08 PM, Stephen Sinclair <radarsat1 at gmail.com>wrote:

> On Tue, Jan 4, 2011 at 9:34 AM, kurt <sobrilliant at gmail.com> wrote:
> > Yes,
> >
> > see here:
> > http://wiki.cs.princeton.edu/index.php/ChucK/Dev/Shell
> >
> > Mac and Linux try:
> > %> chuck --shell
> > in a terminal.
> >
> > No completion or history though so get ready to type.
> rlwrap -r chuck --shell
> Much better.  A proper completion file for rlwrap would probably help
> though.
> Steve
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20110104/518e74cd/attachment-0001.html>

More information about the chuck-users mailing list