summaryrefslogtreecommitdiff
path: root/src/Grasp/Examples/new_next.grasp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-12-17 13:41:56 +1100
committerJed Barber <jjbarber@y7mail.com>2014-12-17 13:41:56 +1100
commita3844616b62aae43e7aa12da6df852628acab504 (patch)
tree63225e17607d2e13be03887937c60cbd4a850f47 /src/Grasp/Examples/new_next.grasp
parent2700f64b858584167fa5292c810fa67f11640e35 (diff)
Test Grasp programs for general purpose, arithmetic, simple IO
Diffstat (limited to 'src/Grasp/Examples/new_next.grasp')
-rw-r--r--src/Grasp/Examples/new_next.grasp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Grasp/Examples/new_next.grasp b/src/Grasp/Examples/new_next.grasp
new file mode 100644
index 0000000..9d5a442
--- /dev/null
+++ b/src/Grasp/Examples/new_next.grasp
@@ -0,0 +1,11 @@
+digraph {
+ 1 [label="new"]
+ 2 [label="grasp:main"]
+ 3 [label="next"]
+ 4 [label="set"]
+
+ 1 -> 2 [label="name"]
+ 1 -> 1 [label="tail"]
+ 1 -> 4 [label="head"]
+ 1 -> 3 [label="label"]
+} \ No newline at end of file