diff options
author | Marvin Borner | 2022-02-20 18:48:30 +0100 |
---|---|---|
committer | Marvin Borner | 2022-02-20 18:48:30 +0100 |
commit | fa02225c5ae8b704408769c70bb47101042762b8 (patch) | |
tree | 2bbd0763fccacd0a35631d6ee9a2176ed836eef5 /src/main.c | |
parent | 5cc450b6e8554f5d982f444b9026447971c94024 (diff) |
Haskell ftw
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main.c b/src/main.c deleted file mode 100644 index 5827913..0000000 --- a/src/main.c +++ /dev/null @@ -1,27 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> - -#include <context.h> -#include <lint.h> -#include <log.h> -#include <preprocess.h> -#include <tokenize.h> -#include <treeify.h> - -int main(int argc, char *argv[]) -{ - if (argc < 2) { - fprintf(stderr, "Not enough arguments!"); - exit(1); - } - - struct ctx *ctx = context_create(argv[1]); - preprocess(ctx); - tokenize(ctx); - lint(ctx); - treeify(ctx); - - context_destroy(ctx); - - return 0; -} |