aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 31d7943..e8fe418 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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)