import gui;
import output;
import driver;
import solver;
import std.stdio;
pragma(lib, "dfl.lib");

void main(string[] args)
{
	Driver d = new Driver(stdin);
	d.addObserver!(GuardedOutput)();
//	auto g = d.addObserver!(GUI!MainSolver)();
	auto g = d.addObserver!(GUI!Solver_0)();
	g.set_fn(&d.command);
	g.run();
}
