Warning: session_start(): open(/var/lib/php/sessions/sess_nnro5cagv28fqvqh92nb3ljpec, 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
static new ThreadLocal applyNLLogicFacts_v4_iterate_steppable_verbose;
static Steppable applyNLLogicFacts_v4_iterate_steppable(final NLLogicChecker_v2 c, final VF2 onRuleFired, final VF4, Exp> onRuleFailed, L rules) {
c.rules = rules;
ret steppable_forEach(rules, voidfunc(final IfThen rule) { pcall {
final new NLLogicChecker_v2.Matching m;
m.verbose = isTrue(applyNLLogicFacts_v4_iterate_steppable_verbose!);
if (m.verbose)
print("Checking rule (iterating): " + rule);
nlLogic_iterate_withOnFail2(c, rule.in, m, new L, r {
if (m.verbose) {
print("Matched " + quote(c.input) + " with rule " + quote(rule));
printStruct(" ", m.matches);
}
callF(onRuleFired, rule, m);
}, voidfunc(L satisfiedConditions, Exp e) {
callF(onRuleFailed, rule, m, satisfiedConditions, e)
});
}});
}