[PD-dev] BUG: namespace prefixes broken in 0.40
mpuckett at imusic1.ucsd.edu
Wed Nov 1 19:28:04 CET 2006
Well, 'declare' actually sets the patch up to do the path and lib fixes
before it loads any objects (including the declare itself).
I'm in agreement that the syntax is strange. I preferred to use a single
name "declare" in order not to hog up any more new names than necessary.
Perhaps a better syntax would be "declare lib [name]" instead of
"declare -lib [name]" -- I could make declare take either one.
On Wed, Nov 01, 2006 at 01:12:30PM -0500, Hans-Christoph Steiner wrote:
> On Nov 1, 2006, at 6:29 AM, Frank Barknecht wrote:
> >Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
> >>Then to make iemlib/split.pd_darwin work as [split], one would use
> >>[declare iemlib] or [import iemlib].
> >Syntax suggestion: what about [declare -import iemlib]?
> First off, how would this be different than [declare -lib]? [import]
> just loads libs.
> Personally, I think the syntax of [declare] is inconsistent. Nowhere
> else in Pd are cmd line style arguments used in object boxes. They
> are used a couple of places in message boxes, but I think that
> suffers from the similar problems. It just doesn't feel right to me,
> doesn't feel Pd-ish.
> For [declare], I think it could make a lot more sense as an interface
> to split it up into separate object boxes for paths and libs. I
> guess this is still experimental since as far as I can tell,
> [declare] suffers from the same limitation as [import]: it must be
> the first object loaded to work properly.
> One thing that might make sense for the global settings -stdlib and -
> stdpath is to make them message based, like [;pd lib zexy( or [;pd
> path /path/to/my/extra( With those in place, the flags wouldn't be
> I have the audacity to believe that peoples everywhere can have three
> meals a day for their bodies, education and culture for their minds,
> and dignity, equality and freedom for their spirits. - Martin
> Luther King, Jr.
> PD-dev mailing list
> PD-dev at iem.at
More information about the Pd-dev