juce::var, and you might be able to construct a
juce::Value listener around those, but my guess is that it wouldn’t really work, because it probably returns a fresh
var every time.
If you’re willing to modify the source code,
juce::var) then you can go to town on it. But this isn’t a great approach, for obvious reasons.
From the sense I have on this forum, not many people end up using
Jules has a new a new embedding of Ducktape in his Choc library, which might be helpful to you. It doesn’t use juce modules, but I’m guessing it wouldn’t be difficult to port. I have a lot of experience working with Juce and Spidermonkey, and I’m happy to help if you decide to go down that path.