summaryrefslogtreecommitdiff
path: root/source/main.c~
diff options
context:
space:
mode:
Diffstat (limited to 'source/main.c~')
-rw-r--r--source/main.c~24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/main.c~ b/source/main.c~
new file mode 100644
index 0000000..6d75950
--- /dev/null
+++ b/source/main.c~
@@ -0,0 +1,24 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "ook2bf.c"
+#include "bfcompiler.c"
+
+int main(int argc, char** argv)
+{
+ if (argc < 2)
+ {
+ fprintf(stderr, "Error: Usage: %s <file> <output_file>\n", argv[0]);
+ return 0;
+ }
+
+ char* bf;
+
+
+ bf = ook2bf(argv[1]);
+ compilebf(bf);
+
+
+
+ return 0;
+}