summaryrefslogtreecommitdiff
path: root/src/Grasp/Examples/helloworld.grasp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-12-19 19:05:48 +1100
committerJed Barber <jjbarber@y7mail.com>2014-12-19 19:05:48 +1100
commit257bd248b0e8bbf3e2ab6d5c7ce81b2bf2fbff34 (patch)
treed3c5a8ec2d81c706c5e56f9aa1dc1ff81f37f696 /src/Grasp/Examples/helloworld.grasp
parentd5ec72501f774c86d1fbe3c74b4edafc5065987e (diff)
Slightly more advanced grasp test programs
Diffstat (limited to 'src/Grasp/Examples/helloworld.grasp')
-rw-r--r--src/Grasp/Examples/helloworld.grasp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Grasp/Examples/helloworld.grasp b/src/Grasp/Examples/helloworld.grasp
new file mode 100644
index 0000000..c55a79b
--- /dev/null
+++ b/src/Grasp/Examples/helloworld.grasp
@@ -0,0 +1,8 @@
+digraph {
+ 1 [label="puts"]
+ 2 [label="grasp:main"]
+ 3 [label="Hello world!"]
+
+ 1 -> 2 [label="name"]
+ 1 -> 3 [label="in"]
+} \ No newline at end of file