Warning: session_start(): open(/var/lib/php/sessions/sess_hqe0v0ddb8peu9b1hcm9n0ejng, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
sS inputDiagrams = [[
CirclesAndLines(circles=[Circle(text="Match", x=d("0.24495677233429394"), y=d("0.2011605415860735")), Circle(text="\"Have you heard about *\"", x=d("0.47982708933717577"), y=d("0.44294003868471954")), Circle(text="Object of interest", x=d("0.5720461095100865"), y=d("0.19922630560928434")), Circle(text="$1", x=d("0.8097982708933718"), y=d("0.42166344294003866"))], lines=[Arrow(a=t5, b=t26, text=""), Arrow(a=t5, b=t47, text="then"), Arrow(a=t47, b=t68, text="")], title="Match")
]];
static Web web;
p {
web = webFromCALStructure(inputDiagrams);
showWeb(web);
bot();
setConsoleInput("Have you heard about Stefan Reich?"); // Self-promo
consoleAddSendButton();
}
answer {
logInput(s);
WebNode match = web_find(web, "Match");
S pattern = web_operandText(match);
if (flexMatchIC(pattern, dropPunctuation(s), m)) {
WebNode then = web_operand(match, "then");
print("Then: " + then);
Web w = web_subWeb(then);
web_rename(w, "$1", $1);
logStructureWithDate("webs-made.txt", w);
showWeb(w);
ret "Made web";
}
}