From 43a7b4e55e87d939785244986ff58d528a1cacf3 Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Wed, 19 Oct 2011 18:45:41 +0200 Subject: [PATCH] Updated art6 ideas. --- misc/art6_ideas.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/misc/art6_ideas.txt b/misc/art6_ideas.txt index 08a342d..57cfa67 100644 --- a/misc/art6_ideas.txt +++ b/misc/art6_ideas.txt @@ -619,3 +619,35 @@ foreach (http_headers, out("\n") if (use_gzip, + +C API +----- + + struct a6_m a6m; + + char *prg = "{[@0?[@1?['---\0?}'link\0="; + + a6_prog(a6m, prg); + + a6_run(a6m, 150); + + char *prg2 = "['Triptico\0'http://triptico.com\0\0'link\0&?"; + + /* even variables are programs */ + char *prg3 = "{'angel\0}'user\0='user&?"; + + char *prg4 = "{['\0$1'">\0$0' $1 '"> $0 '', $1, '"')) + def('url', ~('http://', $0)) + link(url('triptico.com'), 'Triptico') + + ['!!!\0['2\0'10\0/'Result is: \0? + + ['Triptico\0['triptico.com\0'url\0&'link\0& + + {['\0$1'"\0~}'link\0= + {[$0'http://\0~}'url\0= -- 2.11.4.GIT