Pluggable Vocabularies (was Re: [squeak-dev] The Trunk: EToys-fbs.105.mcz)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Pluggable Vocabularies (was Re: [squeak-dev] The Trunk: EToys-fbs.105.mcz)

Frank Shearar-3
On 12 August 2013 18:30, Bert Freudenberg <[hidden email]> wrote:
> On 2013-08-10, at 12:06, Frank Shearar <[hidden email]> 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 -
>
>