compiler / main.cc
main.cc
Raw
#include <iostream>
#include "compiler.h"

int main() {
    Compiler c;

    try {
        c.compile();
    } catch (CompilerFailure &f) {
        std::cerr << f.what() << std::endl;
        return 1;
    }

    c.generate();
}