#include "bbtkInterpreter.h" #include "bbtkUtilities.h" int main(int argc, char* argv[]) { if (argc<2) return 1; std::string file,path; file = bbtk::Utilities::ExtractScriptName(argv[1],path); file += ".h"; bbtk::Interpreter* I = new bbtk::Interpreter(file); I->SetThrow(true); try { I->InterpretFile(argv[1]); } catch (bbtk::Exception e) { e.Print(); } delete I; return 0; } // EOF