Warning: session_start(): open(/var/lib/php/sessions/sess_87i2bs4jluontncn3ffuq1fris, 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
module LLtoNL > DynRecordingTextArea {
S output;
transient S calcedInput;
visualize {
ret jvsplit(
jSection("INPUT (LL)", super.visualize()),
jSection("OUTPUT (NL)", dm_fieldTextArea('output)));
}
start {
onChangeAndNow(r calc);
}
void calc enter {
if (neq(text, calcedInput)) {
new LS out;
calcedInput = text;
for (S s : tlft(text)) {
LS tok = javaTokWithAllBrackets(s);
continue unless isSquareBracketed(second(tok)) && eq(":", get(tok, 3);
tok = subList(tok, 3);
out.add(join(tok));
}
setField(output := lines(out));
}
}
}