// Step 1888: PolyglotProjectSpec + PolyglotFitnessRouter // // t1: construct PolyglotProjectSpec with 2 sections and 1 interface // t2: explicit language on a section is preserved by router // t3: unassigned section gets fitness-routed (non-empty assignedLanguage) // t4: poly-sort spec routes Rust to sort-core (tree-recursive, shared-mem, generics) // t5: poly-api spec routes Go to http-server (flat-loop, channels, blocking I/O) #include "PolyglotProjectSpec.h" #include #include using AFF = whetstone::ASTFeatures; static int p=0,f=0; #define T(n) { std::cout<<" "<<#n<<"... "; } #define P() { std::cout<<"PASS\n"; ++p; } #define F(m) { std::cout<<"FAIL: "< 0 ? 1 : 0; }