On Aug 19, 2011, at 5:14 PM, Andrew Pennebaker wrote:

> The RELATIVE trick looks promising. Though, it gives me an error.
> 
> scriptedmain.factor
> https://github.com/mcandre/scriptedmain/blob/master/scriptedmain.factor
> 
> test.factor
> https://github.com/mcandre/scriptedmain/blob/master/test.factor
> 
> $ ./test.factor 
> Loading /Users/andrew/.factor-rc
> ./test.factor
> 
> 4: USING: scriptedmain ;
>                       ^
> Vocabulary does not exist
> name "scriptedmain"

"scriptedmain.factor" needs to be in a "scriptedmain" subdirectory:

mkdir scriptedmain
mv scriptedmain.factor scriptedmain/

> Side note: Could the "Loading /Users/andrew/.factor-rc" message be silenced 
> so that it doesn't obscure a script's command line interface?

That looks like a bug—in script mode, loading messages should be suppressed. 
I'll fix it.

-Joe

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to