Hello,

Take a look at the USING: statement in automata.ui :

USING: kernel namespaces math quotations arrays hashtables sequences threads
       opengl
       opengl.gl
       colors
       ui
       ui.gestures
       ui.gadgets
       ui.gadgets.handler
       ui.gadgets.slate
       ui.gadgets.labels
       ui.gadgets.buttons
       ui.gadgets.frames
       ui.gadgets.packs
       ui.gadgets.grids
       ui.gadgets.theme
       namespaces.lib hashtables.lib vars
       rewrite-closures automata ;

WTF.

For a while now, we've talked about being able to name a set of vocabularies. 
I've cooked this up; a set of vocabularies is called a 'domain' (as in domain 
specific language). For example, the 'collections' domain consists of the 
vocabularies that implement collections. :-)

Now automata.ui does this to get the right vocabs:

USING: kernel math threads domains
       colors namespaces.lib hashtables.lib vars rewrite-closures automata ;

DOMAINS: opengl ui ;

So, you can still find tune your 'use' space with USE: and USING, but snarf in 
the long lists with DOMAINS:.

If the domain doesn't exist, DOMAINS: will try to use a vocabulary by that 
name. So I could also write the above like so:

DOMAINS: kernel math threads domains
         colors namespaces.lib hashtables.lib opengl ui vars rewrite-closures
         automata ;

http://dharmatech.onigirihouse.com/domains.factor

Ed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to