#include #include #include "File.h" #include "Global.h" #include "Exception.h" #include "__jet.h" int main(int argc, char **argv) { coreutils::File script(argv[1]); script.read(); coreutils::ZString data = script.asZString(); data.goeol(); try { jet::Global global; coreutils::MString out; jet::__jet *jet = new jet::__jet(data, out, global); delete jet; std::cout << out; } catch(coreutils::Exception e) { std::cout << "Error caught: " << e.text << std::endl; } }