diff --git a/src/compile.c b/src/compile.c index e11aa43..eefbaf1 100644 --- a/src/compile.c +++ b/src/compile.c @@ -155,6 +155,14 @@ char* compile(tSyntaxElement* syntaxtree) { compile_exit_tag(&result); + } else + + if (strcmp(token->content.string, "print") == 0) { + + string_append(&result, "{{"); + string_append(&result,compile_expression(token->next)); + string_append(&result, "}}"); + } }