aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/src/compiler_main.cpp
blob: 69504c9e7b2d6c079b496b5196dfeb363b4d40f1 (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[])
{
    Node* ast = parseAST();

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