#include #include #include #include "honeysuckle.h" #include "md4c-html.h" #include "tinydir.h" #include "options.h" int main(int argc, char **argv) { struct argent_options opts; int error = parse_options(&opts, argc, argv); if (error) return 1; printf("configuration file: %s\n" "output directory: %s\n", opts.conf_filename, opts.output_dir); lua_State *L = luaL_newstate(); luaL_openlibs(L); error = luaL_dofile(L, opts.conf_filename); if (error != 0) { fprintf(stderr, "error: %s\n", lua_tostring(L, -1)); } lua_close(L); return 0; }