[PD-dev] the future of [declare] and canvas_savedeclarationsto()

Miller Puckette mpuckett at imusic1.ucsd.edu
Mon May 19 18:33:29 CEST 2008


Hi all,

I use 'declare' all the time.. don't think it's semifunctional at all.
I think the questions about how declares should act inside abstractions
are hard to resolve; in my own usage (and in the way I suggest others might
want to use declare) it's always in the main patch, as a way to show the 
patch what libraries, etc, it needs.

cheers
Miller

On Mon, May 19, 2008 at 06:28:31PM +0200, Hans-Christoph Steiner wrote:
> 
> Hey,
> 
> So I am diving into the whole canvas-local namespace and [declare]  
> issue these days.  I like the new "#X declare"/ 
> canvas_savedeclarationsto() functionality, I think it could be useful  
> for a lot of things.  I was thinking of making an API to use it in  
> externals, something like sys_register_loader().  I have two  
> questions, first, how entrenched is the current behavior of  
> [declare]?  It currently is only semi-functional, and I think few  
> people use it.
> 
> The second is how to structure this for general use.  I have thought  
> of two ways:
> 
> - make "declare" the key word and allow other objectclasses to have  
> their own custom "#X declare" data.
> 
> - allow objectclasses to register their own declaration key words,  
> like [import] could have "#X import".
> 
> The first would mean changing the behavior of [declare], the second  
> could lead to a big mess...
> 
> .hc
> 
> 
> ------------------------------------------------------------------------ 
> ----
> 
> Man has survived hitherto because he was too ignorant to know how to  
> realize his wishes.  Now that he can realize them, he must either  
> change them, or perish.    -William Carlos Williams
> 
> 
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list