Implement print

This commit is contained in:
2022-01-05 13:09:16 +01:00
committed by Raymon Zutekouw
parent b84e897e29
commit 3dc0b970fe
+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");