Factor doesn't accept shebang lines :(
$ cat hello.factor
#!/usr/bin/env factor
USE: io
IN: hello
: hello ( -- ) "Hello World!" print ;
MAIN: hello
$ ./hello.factor
./hello.factor
1: #!/usr/bin/env factor
^
No word named “#!/usr/bin/env” found in current vocabulary search path
Ignore the shebangs. For some reason, my simple Hello World program produces
no output.
$ cat hello.factor
USE: io
IN: hello
: hello ( -- ) "Hello World!" print ;
MAIN: hello
$ factor hello.factor
$
(no output)
Cheers,
Andrew Pennebaker
www.yellosoft.us
------------------------------------------------------------------------------
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