aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/src/compiler_main.cpp
blob: 0805de340aa8f85621e4f267c5cf061ee5e0d0a3 (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;
}