To see more examples of Factor code, download the Factor distribution and take a look in the core/, basis/ and extra/ directories.

A few to get started with:

Some of these demos define a MAIN: word. This means they are runnable from the Factor listener, by issuing a command such as the following,

"hello-unicode" run

Others are libraries, which means that after loading them with a command like,

USE: roman

you can then get a list of words,

"roman" about

and play around,

( scratchpad ) 123 >roman .

This revision created on Fri, 17 Jul 2009 23:02:08 by slava