Re: [Factor-talk] libs/vocabs and vocabulary roots

2007-03-06 Thread Chris Double
On 3/6/07, Eduardo Cavazos <[EMAIL PROTECTED]> wrote: > The first time that foo.a is loaded from disk, the facts file is loaded too. It would be nifty if the facts file could be loaded lazily. That is, only when actually needed. I don't know how possible that is with the current help system though

Re: [Factor-talk] libs/vocabs and vocabulary roots

2007-03-06 Thread Eduardo Cavazos
Daniel Ehrenberg wrote: > how do you include unit tests (without manually finding the files and > calling run-file)? The plan is to have a test-vocab word that is analagous to test-module. It should be easy to add: Let's say you have a vocabulary named 'foo.a'. Assuming that this vocabulary is

Re: [Factor-talk] libs/vocabs and vocabulary roots

2007-03-05 Thread Daniel Ehrenberg
Looks good, Ed. But how do you include unit tests (without manually finding the files and calling run-file)? Also, do you think it's possible to make an automated tool to do the transition, at least partially? I sort of like the current directory organization, and don't think it's disorganized. The

Re: [Factor-talk] libs/vocabs and vocabulary roots

2007-03-01 Thread Eduardo Cavazos
On Thursday 01 March 2007 16:52, Alex Chapman wrote: > > > > tetris-piece => tetris.piece > > > > And the file would be: > > > > libs/tetris/piece/piece.factor > > I don't like this -- I just want one directory with all my .factor files, > not one directory per file. Maybe this jus

Re: [Factor-talk] libs/vocabs and vocabulary roots

2007-03-01 Thread Alex Chapman
Converting the existing user contributed code base (apps libs demos) is really trivial with libs/vocabs. Most of the work will be simply removing load.factor files. Some complex vocabs like tetris and xml would have to rename vocabularies, mainly replacing - with . and moving each vocab into it'

Re: [Factor-talk] libs/vocabs and vocabulary roots

2007-03-01 Thread Chris Double
> I think a good plan is this. Switch to vocabs as it currently is. I'd be more inclined to use the vocabs system if it had some documentation in the form of .facts files. And if there was a way of getting 'run-module', 'test-module' and the help integrated with the 'contributed library' section o

[Factor-talk] libs/vocabs and vocabulary roots

2007-03-01 Thread Eduardo Cavazos
Hello, libs/vocabs is nice because people can migrate over to it gradually and easily. I say gradually because it's possible an existing module to use one of the vocabularies setup with the vocabs system. For example, I have the beginnings of a non-core namespaces vocabulary called namespaces.l