diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -23,11 +23,12 @@ int main() { while (1) { - Cons *tree = ast->absorb(tk); - if (!tree) break; - //tree_print(tree); + printf("Sonsi> "); try { + Cons *tree = ast->absorb(tk); + if (!tree) break; + //tree_print(tree); printf("%s\n", eval->run_expr(tree)->ext_repr().c_str()); } catch (GeneralError &e) |