Hello, Chris, Slava, and I were in #concatenative discussing the implications of vocbulary-roots on our current system.
Chris, you mentioned that you wouldn't mind doing: USING: core.kernel core.arrays libs.concurrency libs.parser-combinators ... ; I can't argue with that. I mean, if you like it, you like it. :-) However, I disagree with having the filesystem layout impose constraints on how Factor programmers name their own vocabularies. I still want to be able to use arrays with the simple USE: arrays. If a programmer wants to make a vocabulary named my-object-system, then he should be able to do so and use it with USE: my-object-system, not be forced to call libs.my-object-system or even libs.object-systems.my-object-system when the contributed libraries filesystem get's another redesign like when we moved from contrib/ to libs/, apps/ and demos/. So if you like and want to have your vocabs start with a prefix like "libs", you can create a directory in a vocabulary-root called libs and put your vocabularies in there. >From a filesystem stand point, we get the benefit of organizing files into directories. So we can still have core/ libs/ apps/ demos/. But that doesn't impact the way we name vocabularies. A vocabulary browser *can* be aware of the vocabulary-roots. By default you might a list of all the top-level vocabularies and then expand the sub-vocabularies. An example of sub-vocabs is x.widgets.keymenu. In the Smalltalk class browser, the first pane is a "category" pane. In a vocabulary browser, you make the first pane be a "vocabulary root" browser. So then you'd see this list: core libs apps demos Or a list that is more controversial: core core/collections libs libs/collections apps apps/games Slava didn't like roots pointing into core/ and libs/ though. We didn't discuss it very much so I wanted to point out this benefit for a potential vocabulary browser. Ed ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
