#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::Pointer I = bbtk::Interpreter::New(file); I->SetThrow(true); try { I->InterpretFile(argv[1]); } catch (bbtk::Exception e) { e.Print(); } return 0; } // EOF