Actually, that's not a bad idea at the expense of a little more searching. [declare] then behaves more like the lua loader which searches for both binary and script modules, which I find relatively easy to use. I don't think this would break existing patches and would also honor the relative path restrictions for self contained projects, where specifying a relative path starting with ./ or ../ only searches locally.

On Sep 11, 2018, at 12:00 PM, pd-dev-request@lists.iem.at wrote:

Date: Tue, 11 Sep 2018 11:42:00 +0200
From: Antoine Rousseau <antoine@metalu.net>
To: pd-dev <pd-dev@lists.iem.at>
Subject: Re: [PD-dev] declare (again)
Message-ID:
<CAOCG5Hx19cSDb5GkJ2onAtY8OU_XaQOZs28qXGn=8JZSi1ELKw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"


relatively easy code change


...  so I propose step 2 as PR #440 !

cheers

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com