|
|
@ -44,7 +44,7 @@ fn main() { |
|
|
println!("{}", headline); |
|
|
println!("{}", headline); |
|
|
|
|
|
|
|
|
for c in input.chars() { |
|
|
for c in input.chars() { |
|
|
println!("{}", c); |
|
|
print!("{}", c); |
|
|
instructions = state.encode_next_char(c); |
|
|
instructions = state.encode_next_char(c); |
|
|
for inst in instructions { |
|
|
for inst in instructions { |
|
|
let mut response = String::new(); |
|
|
let mut response = String::new(); |
|
|
@ -62,6 +62,7 @@ fn main() { |
|
|
} |
|
|
} |
|
|
//thread::sleep(Duration::from_millis(500));
|
|
|
//thread::sleep(Duration::from_millis(500));
|
|
|
} |
|
|
} |
|
|
|
|
|
println!(); |
|
|
let mut response = String::new(); |
|
|
let mut response = String::new(); |
|
|
let inst = String::from("exit"); |
|
|
let inst = String::from("exit"); |
|
|
if DEBUG { |
|
|
if DEBUG { |
|
|
|