Thanks much for the feedback!<div><br></div><div>I've figured out the UGen subclassing and it was a relief to hear it working :)  I was using an `output` method before.</div><div><br></div><div>The release of ChucK I am using is `1.2.1.4-beta-1` which is an OS X build from a link Spencer posted not too long ago.<br clear="all">

</div><div><br></div><div>I will look through the type system, thanks for the advice.</div><div><div>----------<div>Colin Sullivan<br></div><br>
<br><br><div class="gmail_quote">On Wed, Nov 30, 2011 at 12:23 AM, Kassen <span dir="ltr"><<a href="mailto:signal.automatique@gmail.com">signal.automatique@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On 30/11/2011, Colin Sullivan <<a href="mailto:colinsul@gmail.com">colinsul@gmail.com</a>> wrote:<br>
> Hello all,<br>
><br>
Hey Colin!<br>
<div class="im"><br>
> I have started to build a compositional framework in ChucK and have come<br>
> across a few language features that seem to be unsupported:<br>
><br>
> - For the types of inheritance structures I am thinking about, it would be<br>
> incredibly useful if I was able to call a parent class's method from within<br>
> a child class using something like the `super` keyword.<br>
<br>
</div>You are right. That kind of advanced class/type usage is simply a bit<br>
underdeveloped.<br>
<div class="im"><br>
> - It would also be really awesome if I could pass a "type" as a parameter.<br>
<br>
</div>I've thought about that too, though I also have a suspicion that with<br>
more advanced type&class functions we might not even need that.<br>
I'm not sure, I'll defer to the real theoretical experts.<br>
<div class="im"><br>
> - Not crucial at all, but it would be convenient if subclassing a `UGen`<br>
> allowed you to use the chuck operator on instances of your class just like<br>
> other ugens, i.e. `MyPiano p => dac`.<br>
<br>
</div>Yes. That, IMHO *is* critical. On the bright side; some work on that<br>
has been done as that mysteriously started working a while ago.<br>
I heard gossip that more work is being done right now on custom and<br>
user build UGens that should go in the next version.<br>
<div class="im"><br>
><br>
> I am interested to know if there has been work on these features since the<br>
> release I am running, and if so where I can go about acquiring a more<br>
> recent build.<br>
<br>
</div>Well, that depends on what release you are running :-). The most<br>
recent regular version is up on the site as a binary for OSX and<br>
Windows and as source for Linux.<br>
If you need the latest there is the SVN repository from which you can<br>
build your own. I can look up the location if you'd like. I am not<br>
aware of any changes to the class system there though. Worst case is<br>
you are running that .deb package, last time I checked that was quite<br>
out of date and you'd receive a lot of benefits from opdating by<br>
compiling your own (not so hard and downright easy after the first<br>
time).<br>
<div class="im"><br>
>  If there has not been any development on these features, I<br>
> would be interested in getting to know the problems a bit more and<br>
> determining if I can contribute to their development.  Are any of these<br>
> issues inherently difficult due to an aspect of ChucK's implementation?<br>
>  Let me know if I can clarify at all.<br>
<br>
</div>I think I'd personally advocate fixes for the bugs in the type system<br>
before new features there. Bug hunting has been done there, I think<br>
the community has found and documented most of the bad things there.<br>
As I see it we now need somebody who really knows that structure to<br>
take a look at it. This practically depends on Ge having spare time<br>
which seems to be a bit of a problem. That's probably a problem for Ge<br>
first and fore-most.. :-/<br>
<br>
As for the UGens, I heard very nice gossip.<br>
<br>
More in general; if you have things you can't accomplish due to a lack<br>
of features you can always ask for help working around that. ChucK<br>
*is* a bit of a simple language (which is nice too, in many ways!) but<br>
you can typically accomplish what you need, even if it might not look<br>
very elegant by -say- C++ standards.<br>
<br>
Hope that helps a bit.<br>
Kas.<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">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>
</blockquote></div><br></div></div>