On Tue, Nov 9, 2010 at 10:24 AM, Jeff C. Britton <[email protected]> wrote:
> I am brand new to Factor.
> I downloaded factor-winnt-x86-32-0.04.zip.
>
> I created the file
> Hello-world.factor from here
> http://gitweb.factorcode.org/gitweb.cgi?p=factor;a=blob;f=extra/hello-world/hello-world.factor;hb=HEAD

FWIW, this file (along with the rest of the source code) is also in
the binary package.

> Factor hello-world.factor

You need to do factor -run=hello-world

This file is meant to be run as a vocabulary ,not a stand-alone
script. For a stand-alone script hello world, try this:

------
USE: io
"Hello world" print
------

> I have tried replacing line 1 with USING:
> I don't know the difference yet, but the other examples use USING:

USE: foo is equivalent to USING: foo ; -- it is just a shorthand meant
primarily for interactive use.

> I have also tried the time-server example at
> http://gitweb.factorcode.org/gitweb.cgi?p=factor;a=blob;f=extra/time-server/time-server.factor;hb=HEAD
>
> I had a problem with io.servers not being recognized.
> I ultimately replaced this with io.servers.connection

Use the time-server sources that are part of the binary package. The
io.servers vocabulary changed recently.

> Oh, I also tried the
> "tetris" deploy-tool
> mentioned in the cookbook.
>
> This took a lot longer to run than I expected.  I am used to using a similar 
> tool with Python(py2exe) which seems to run about 10 times faster.

The first time you deploy an app it takes a little while.

> Ultimately, it hung up.  The Listener was frozen.

It will say 'Compiling...' for a few minutes -- are you sure it was
frozen and not just working?

> The tetris.exe left on the disk would simply exit with no GUI generated.

I'll test deployment out and let you know if I find any problems.

Slava

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to