pub trait Turing<S: Symbolic>: Translate<S> {
    type Scope: Scope<S>;

    // Required methods
    fn execute(&mut self) -> Result<&Self, Self::Error>;
    fn execute_once(&mut self) -> Result<&Self, Self::Error>;
    fn execute_until(
        &mut self,
        until: impl Fn(&Self::Scope) -> bool
    ) -> Result<&Self, Self::Error>;
}
Expand description

Turing describes a programmable Turing machine

Required Associated Types§

Required Methods§

source

fn execute(&mut self) -> Result<&Self, Self::Error>

source

fn execute_once(&mut self) -> Result<&Self, Self::Error>

source

fn execute_until( &mut self, until: impl Fn(&Self::Scope) -> bool ) -> Result<&Self, Self::Error>

Implementors§

source§

impl<S: Symbolic> Turing<S> for Machine<S>

§

type Scope = Driver<S>