Implement print

This commit is contained in:
2022-01-05 13:09:16 +01:00
committed by Raymon Zutekouw
parent 077637fb12
commit 65b2dd4f2f
+1 -1
View File
@@ -179,7 +179,7 @@ fn instruct(statement: Pair<Rule>, state: &mut State, out: &mut Builder) {
}
Rule::print => {
println!("Printing current variable");
out.append("print\n");
out.append(".");
}
Rule::instruction => {
out.append("\n");