aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/src/compiler_main.cpp
blob: dc243e0feb2f38b1dd21e02c90d664955692a57e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "node.hpp"
#include "bindings.hpp"

#include <iostream>

Node* parseAST();

int main(int argc, char *argv[])
{
    std::unique_ptr<Node> ast(parseAST());

    VariableStackBindings bindings;
     
    ast->printasm(bindings);
    
    return 0;
}