We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14959cc + ad7cba1 commit 54d786eCopy full SHA for 54d786e
src/main.rs
@@ -711,6 +711,21 @@ impl Executor {
711
print!("{a}");
712
}
713
714
+
715
+ // Standard output with new line
716
+ "println" => {
717
+ let a = self.pop_stack().get_string();
718
719
+ let a = a.replace("\\n", "\n");
720
+ let a = a.replace("\\t", "\t");
721
+ let a = a.replace("\\r", "\r");
722
723
+ if let Mode::Debug = self.mode {
724
+ println!("[Output]: {a}");
725
+ } else {
726
+ println!("{a}");
727
+ }
728
729
730
// Get command-line arguments
731
"args-cmd" => self.stack.push(Type::List(
0 commit comments