summaryrefslogtreecommitdiff
path: root/source/main.c
blob: c832a5e2ed8fc9c901fc6e5c9dbb226f372690aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>\n", argv[0]);
	return 0;
    }

    char* bf;
    
    
    bf = ook2bf(argv[1]);
    compilebf(bf);

    
    
    return 0;
}