[chuck-users] Intraspection - an example of what I'm attempting

Kassen signal.automatique at gmail.com
Tue Nov 9 12:45:26 EST 2010


Mike;


> However, if the reserved word-- SinOsc --could be made equivalent to what
> was returned from .typeOf() or .className(), then it would be totally great.
>
>
Are you proposing a new type representing "keyword"? I don't think that
would fly in the long term, unless we could add to the keywords. I still
want this to -one day- fly:

class Distortion extends UGen
  {
  fun float tick() { .....etc...}
  }


Furthermore there are more object types than UGens; so far we only discussed
UGens but we need a general solution that will be able to deal with a array
containing -say- objects of type "note" and type "melody" or "loop" and
whatever. Without needing to implement what would amount to a custom type
system.

Yours,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20101109/6a2dc09c/attachment.html>


More information about the chuck-users mailing list