preparing 0.9 version, rename to crl1.h
[svn/Cll1h/.git] / demos / advanced-hello-world.c
diff --git a/demos/advanced-hello-world.c b/demos/advanced-hello-world.c
deleted file mode 100644 (file)
index 124788a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#include "cll1.h"
-
-program
-{
- print("* echo()");
- echo("Hello"," ","world","  !\n");
- print("* print()");
- print("Hello","world","!");
- print("* NIL");
- print("We can print", NULL, "safely.");
- NIL="(hic sunt crocodiles)";
- print("We can print", NULL, "safely.");
-
- {
-  str p = "print", a = NULL;
-  print("* coalesce():"); 
-  print("We can", coalesce(p, "everything"), "almost", coalesce(a, "anything"), "safely."); 
- }
-
- echo("Surprisingly ->",NIL," (you can't see this)");
- print("<- nothing special here.");
- print("* OFS");
- OFS="";
- EOL="";
- print("We","Can","Print","Without","Spaces","BetweenArgs.");
- OFS=":";
- print("We","can","customize","print.");
- OFS="...";
- EOL="<--\n";
- print("");
- print("* MAYBE ?");
- repeat(4) print((MAYBE ? "Hello" : "Hi"), (MAYBE ? "world" : "friend"), (MAYBE ? "!" : "?"));
- print("* WHOKNOWS ?");
- repeat(4) print((WHOKNOWS ? "Hello" : "Hi"), (WHOKNOWS ? "world" : "friend"), (WHOKNOWS ? "!" : "?"));
-}
This page took 0.089757 seconds and 4 git commands to generate.