00001 #include <sstream> 00002 #include "compiler.hpp" 00003 00004 using namespace std; 00005 00006 string Compiler::translate( const string &input ) const 00007 { 00008 istringstream inStream( input ); 00009 ostringstream outStream; 00010 translate( inStream, outStream ); 00011 return outStream.str(); 00012 } 00013