9d4aca73fa 2012-07-14 kinaba: import gui; 9d4aca73fa 2012-07-14 kinaba: import output; 9d4aca73fa 2012-07-14 kinaba: import driver; 9d4aca73fa 2012-07-14 kinaba: import solver; 9d4aca73fa 2012-07-14 kinaba: import std.stdio; 9d4aca73fa 2012-07-14 kinaba: pragma(lib, "dfl.lib"); 9d4aca73fa 2012-07-14 kinaba: 9d4aca73fa 2012-07-14 kinaba: void main(string[] args) 9d4aca73fa 2012-07-14 kinaba: { 9d4aca73fa 2012-07-14 kinaba: Driver d = new Driver(stdin); 9d4aca73fa 2012-07-14 kinaba: d.addObserver!(GuardedOutput)(); 9d4aca73fa 2012-07-14 kinaba: auto g = d.addObserver!(GUI!Solver_1)(); 9d4aca73fa 2012-07-14 kinaba: g.set_fn(&d.command); 9d4aca73fa 2012-07-14 kinaba: g.run(); 9d4aca73fa 2012-07-14 kinaba: }