#include "lua_runner.hpp" #include #include #include using namespace std; int main() { std::ifstream file("call.json"); std::string content( (std::istreambuf_iterator(file)), std::istreambuf_iterator() ); Lua_runner runner; /* if(runner.run("test.lua",content.c_str())==-1){ perror("lua"); return -1; } cout<