aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/src/parser_main.cpp
blob: 9626334a4535c62fda54fac4e0da2b1f51b7d2a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "ast.hpp"

#include <iostream>

int main(int argc, char *argv[]) {
    ast_Top *ast = parseAST();

    std::cout << "<?xml version=\"1.0\"?>" << std::endl << "<Program>" << std::endl;

    ast->print();

    std::cout << "</Program>" << std::endl;
    
    return 0;
}