factor/demos/hello-world.factor

12 lines
374 B
Factor
Raw Normal View History

! This is a bit more complex than the simplest hello world,
! which is:
! "Hello World" print
! Instead, we define a module, and a main entry hook; when you
! run the module in the listener with the following command,
2006-11-28 21:57:29 -05:00
! "demos/hello-world" run-module
! It prints the above message.
2006-11-28 21:57:29 -05:00
USING: io ;
PROVIDE: demos/hello-world ;
MAIN: demos/hello-world "Hello World" print ;