summaryrefslogtreecommitdiff
path: root/factor/examples/hello/hello.factor
diff options
context:
space:
mode:
Diffstat (limited to 'factor/examples/hello/hello.factor')
-rw-r--r--factor/examples/hello/hello.factor7
1 files changed, 7 insertions, 0 deletions
diff --git a/factor/examples/hello/hello.factor b/factor/examples/hello/hello.factor
new file mode 100644
index 0000000..15b31fb
--- /dev/null
+++ b/factor/examples/hello/hello.factor
@@ -0,0 +1,7 @@
+USE: io
+USE: examples.greeter
+IN: examples.hello
+
+: hello-world ( -- ) "world" greeting print ;
+
+MAIN: hello-world