Implement print

Raymon Zutekouw 4 years ago committed by Raymon Zutekouw
parent 077637fb12
commit 65b2dd4f2f
No known key found for this signature in database
GPG Key ID: E62222846283925
  1. 2
      src/main.rs

@ -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");

Loading…
Cancel
Save