Add a 'hello world' example for posterity
parent
c1b7fb46de
commit
5582b2b66d
|
@ -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 ;
|
Loading…
Reference in New Issue