Hi all - I'm not sure if this is more of a developer question, but I'll try
here first.

I'm investigating integrating ChucK into a custom app and am intrigued by
the new chunity integration.  The key aspects of chunity (for my purposes)
are the new global keyword coupled with the ability to send/recv values
(and events) from a controlling application.

I have two questions:

1. does the new global keyword actually work?
In miniAudicle 1.4.0.0 (on windows), i have a one-line script:

    global int myvar;

This produces an error message:

 [untitled]:line(1).char(33): syntax error

which goes away with the removal of the global keyword.

1a. i do see a special branch of chuck called dac-ugen-replacement which
may be hold the answers to my question.  Perhaps it's only a matter of the
windows build being a little behind (due to the grammar change)?

2. is there a github repository for the chunity plugin?  I don't see it in
the standard chuck github.  It's possible that the global keyword is only
activated for special builds of chuck and I might be able to get to the
bottom of that question by inspecting the chunity builds.  Incidentally, I
see that ChucK Racks addressed a set of similar problems in a different
manner (by extending the chuck environment directly via PluginHost). My
impression is that these two activities occurred in parallel and that there
may be an advantage in combining the two approaches, perhaps ultimately
producing a publicly available .so/.dll as part of the chuck distribution.

Advanced thanks for any comments or pointers on these questions!
And the usual giant kudos to the ChucK devs for producing such a cool
thing!.

Regards,
Dana Batali
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to