aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMarvin Borner2022-02-20 18:48:30 +0100
committerMarvin Borner2022-02-20 18:48:30 +0100
commitfa02225c5ae8b704408769c70bb47101042762b8 (patch)
tree2bbd0763fccacd0a35631d6ee9a2176ed836eef5 /src/main.c
parent5cc450b6e8554f5d982f444b9026447971c94024 (diff)
Haskell ftw
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c27
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;
-}