diff src/th06/std.rs @ 679:6020e33d4fc4

Implement a .std renderer, and its associated VM.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 16 Aug 2019 13:40:38 +0200
parents 266911c0ccfd
children ef2dbd676a91
line wrap: on
line diff
--- a/src/th06/std.rs
+++ b/src/th06/std.rs
@@ -235,7 +235,7 @@ fn parse_stage(input: &[u8]) -> IResult<
         let data = &i2[..12];
         let (data, instr) = parse_instruction_args(data, opcode)?;
         assert_eq!(data.len(), 0);
-        println!("{:?}", instr);
+        println!("{} {:?}", time, instr);
         script.push(Call { time, instr });
         i = &i2[12..];
     }