// Step 1952: Sprint 284 Integration — poly-compiler // // 5-phase pipeline: C++(lex)→Haskell(parse)→Rust(typecheck)→Lisp(optimize)→Go(emit) // // t1: registry has 5 phases sorted by order; languages correct // t2: router maps all 5 IRNodeKinds to correct phases // t3: pipeline runner runAll produces Bytecode from Source // t4: runUpTo("typecheck") produces TypedAST // t5: Sprint284IntegrationSummary reports 5 steps #include "CompilerPhaseSpec.h" #include "CompilerIRNode.h" #include "CompilerPhaseRouter.h" #include "CompilerPipelineRunner.h" #include "Sprint284IntegrationSummary.h" #include namespace ws = whetstone; 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; }