summaryrefslogtreecommitdiff
path: root/factor/examples/hello
diff options
context:
space:
mode:
authorGuillermo Ramos2014-07-02 22:15:26 +0200
committerGuillermo Ramos2014-07-02 22:15:26 +0200
commit4022f2401399c0911103eaf7988fde4372b7f727 (patch)
treecfe2aa02063aea02f5e5790778d4e4fd2f6fdeed /factor/examples/hello
parentf3c354d396a38033dac28ece6f6220e75cef5aec (diff)
download7l-4022f2401399c0911103eaf7988fde4372b7f727.tar.gz
[Factor] Día 2 (sin terminar)
Diffstat (limited to 'factor/examples/hello')
-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