From c78cb290760dbdf418165f9494d15bbe5007e010 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 1 Jun 2013 22:48:18 +0200 Subject: [PATCH] Add example files --- doc/example1.x | 2 ++ doc/example2.x | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 doc/example1.x create mode 100644 doc/example2.x diff --git a/doc/example1.x b/doc/example1.x new file mode 100644 index 0000000..37530f6 --- /dev/null +++ b/doc/example1.x @@ -0,0 +1,2 @@ +int foo dana int x fox mulder rif dana 50 fox x = x + 1; return x + 2; scully +foo dana 2 fox diff --git a/doc/example2.x b/doc/example2.x new file mode 100644 index 0000000..9c03eb3 --- /dev/null +++ b/doc/example2.x @@ -0,0 +1,2 @@ +int bar dana int a fox mulder int i; int x; x = 0; rfor dana i = 0; 80; i = i + 1; fox x = x + a; return x; scully +bar dana 7 fox