Pluggable Vocabularies (was Re: [squeak-dev] The Trunk:
EToys-fbs.105.mcz)
Frank Shearar
frank.shearar at gmail.com
Mon Aug 12 19:53:22 UTC 2013
On 12 August 2013 18:30, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 2013-08-10, at 12:06, Frank Shearar <frank.shearar at gmail.com> wrote:
>
>> * GetText >> #appendVocabularies
>>
>> I wouldn't mind some advice on how to handle the Vocabulary untangling...
>>
>> frank
>
> Well, the Right Thing would be to add either a registry (class var) or discovery mechanism (pragma, magic selector) to GetTextExporter so arbitrary classes can hook into it.
OK, that's pretty much what I thought: something pluggable. Perhaps a
pragma might be neat. I really like the Preferences pragma approach.
> Short of that you could reference EToyVocabulary by name rather than directly, doing nothing if it's not present.
*shiver*
frank
> - Bert -
>
>
More information about the Squeak-dev
mailing list
|