From 257bd248b0e8bbf3e2ab6d5c7ce81b2bf2fbff34 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 19 Dec 2014 19:05:48 +1100 Subject: Slightly more advanced grasp test programs --- src/Grasp/Examples/puts_list.grasp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Grasp/Examples/puts_list.grasp (limited to 'src/Grasp/Examples/puts_list.grasp') diff --git a/src/Grasp/Examples/puts_list.grasp b/src/Grasp/Examples/puts_list.grasp new file mode 100644 index 0000000..b8f1b17 --- /dev/null +++ b/src/Grasp/Examples/puts_list.grasp @@ -0,0 +1,20 @@ +digraph { + 1 [label="puts"] + 2 [label="grasp:main"] + 3 [label="79"] + 4 [label="117"] + 5 [label="116"] + 6 [label="112"] + 7 [label="117"] + 8 [label="116"] + 9 [label="0"] + + 1 -> 2 [label="name"] + 1 -> 3 [label="in"] + 3 -> 4 [label="next"] + 4 -> 5 [label="next"] + 5 -> 6 [label="next"] + 6 -> 7 [label="next"] + 7 -> 8 [label="next"] + 8 -> 9 [label="next"] +} \ No newline at end of file -- cgit