Warning: session_start(): open(/var/lib/php/sessions/sess_pfubcasr7i9olbum7j6e0o06ua, 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 cmodule TopDownParsing > DynSCP { S input = "Bob paid for Charlie 's college education"; TryPatterns root; // Tree has 2 types of nodes: composite and options class Base { L children; L children() { ret children; } } class AppliedPattern > Base { S pattern; LS arguments; L children() { if (children == null) children = map(arguments, a -> new TryPatterns(a)); ret children; } toString { ret stdToStringWithFields(this, 'pattern, 'arguments); } } class TryPatterns > Base { S input; *() {} *(S *input) {} L children() { if (children == null) { children = new L; for (S pat : patterns()) for (LS arguments : matchesToStringLists(flexMatchIC_all(pat, input))) children.add(setAll(new AppliedPattern, pattern := pat, +arguments)); } ret children; } toString { ret stdToStringWithFields(this, 'input); } } start-thread { setField(root := parse(input)); setComponent(jDynamicTree(root, x -> x.children())); } LS patterns() { ret dm_getUnclearList("patterns"); } TryPatterns parse(S s) { ret new TryPatterns(s); } }