Skip to content

Commit

Permalink
Print the result from JIT interpretation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Sep 13, 2024
1 parent 1232e61 commit acaab9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Zhivo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ auto interpreter() -> int {

for(const auto& statement : parser.getGlobalStatements())
result = statement->visit(symbols);

std::cout << result.toString() << std::endl;
return 0;
}
catch(const std::exception& exc) {
Expand Down

0 comments on commit acaab9a

Please sign in to comment.