This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
// Linjie Zhang 2020 | |
// | |
// 3-state busy beaver | |
// https://en.wikipedia.org/wiki/Turing_machine | |
let rules = vec!["A01RB", "A11LC", "B01LA", "B11RB", "C01LB", "C11RH"] | |
.iter() | |
.map(|x| x.chars().collect::<Vec<char>>()) | |
.collect::<Vec<_>>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
// Linjie Zhang 2020 | |
// | |
// T simple turing machine | |
// | |
// https://plato.stanford.edu/entries/turing-machine/#DefiTuriMach | |
#[derive(Debug)] | |
struct Machine { |