From 676307d3cc203f3a5e583cdc96c37c7821f79452 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Tue, 18 Feb 2014 18:07:19 +0100 Subject: Coroutines. --- examples/working-compiler/coroutine3.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/working-compiler/coroutine3.test (limited to 'examples/working-compiler/coroutine3.test') diff --git a/examples/working-compiler/coroutine3.test b/examples/working-compiler/coroutine3.test new file mode 100644 index 0000000..f4bc1db --- /dev/null +++ b/examples/working-compiler/coroutine3.test @@ -0,0 +1,12 @@ +{ + { } { -- restart } !!' +} /restart deffd + +0 ==i + +restart ==checkpoint + +i 1 add =i +i dump + +i 7 lt { checkpoint 0 ! } rep -- cgit v1.2.3