summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index f8b9681..98dbec9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,6 +1,7 @@
#include <iostream>
#include <fstream>
#include <cstring>
+#include "evaluate.h"
#include "parser.h"
using namespace std;
@@ -43,6 +44,8 @@ int main(int argc,char **argv){
cerr<<e.what()<<endl;
return 1;
}
- cout<<stl<<endl;
+ // cout<<stl<<endl;
+ Assembly as(stl);
+ cout<<as<<flush;
return 0;
}