aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/src/parser_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c_parser/src/parser_main.cpp')
-rw-r--r--c_parser/src/parser_main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/c_parser/src/parser_main.cpp b/c_parser/src/parser_main.cpp
index 8bf67bf..fe80cb7 100644
--- a/c_parser/src/parser_main.cpp
+++ b/c_parser/src/parser_main.cpp
@@ -1,5 +1,11 @@
#include "ast.hpp"
+#include <iostream>
+
int main(int argc, char *argv[]) {
- return 0;
+
+ const Expression *ast = parseAST();
+ ast->print();
+
+ return 0;
}