Add a 'hello world' example for posterity

slava 2006-11-17 07:11:18 +00:00
parent c1b7fb46de
commit 5582b2b66d
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
! 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,
! "examples/hello-world" run-module
! It prints the above message.
PROVIDE: examples/hello-world ;
MAIN: examples/hello-world "Hello World" print ;