Skip to content

Commit

Permalink
generate machine code instead of manual evaluating
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwg committed Aug 31, 2018
1 parent cd852f1 commit 40dabd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/calc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ int main(int argc, char** argv) {
ast::put(&tree);
cout << endl;

//
eval::JitEvaluator je(&tree);
je.generate();

return 0;
}

0 comments on commit 40dabd8

Please sign in to comment.