From 9deed51aa2df7ca5979963f7452a6439ad2d3767 Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 2 Sep 2021 17:23:42 +0300 Subject: initial --- main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main.c (limited to 'main.c') diff --git a/main.c b/main.c new file mode 100644 index 0000000..3431ba8 --- /dev/null +++ b/main.c @@ -0,0 +1,14 @@ +#include "util.h" +#include "parser.h" + +recipe ** cookbook; + +int +main(int argc, char * argv[]) +{ + fdebug("--- Debug mode is on ---\n"); + recipe * r = parse(argv[1], NULL); + if (r) tojson(r); + free_recipe(r); + return 0; +} -- cgit v1.2.3