As Andrew Pennebaker pointed out, it's likely the user's intended behavior for something like:
#! /usr/bin/env factor -script USING: io ; IN: foo : foo ( -- ) "foo" print MAIN: foo to actually invoke foo, instead of just falling through and doing nothing after parsing the definitions. It wouldn't be too difficult to alter startup so it checks the evaluated script for a MAIN: entry point and runs it if present. Any reason not to? -Joe
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 Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk