feat: add tape head movement and dynamic growth
This commit is contained in:
1 parent
a3621f6201
commit
c69afef621
2 files changed
+74
-3
No files matched your search
+2
-2
@@ -10,7 +10,7 @@ struct TuringMachine {
|
||||
|
||||
impl TuringMachine {
|
||||
fn new() -> Self {
|
||||
Default::default()
|
||||
TuringMachine::default()
|
||||
}
|
||||
|
||||
fn with_state_entries(
|
||||
@@ -36,7 +36,7 @@ struct MachineAction {
|
||||
new_state: MachineState,
|
||||
}
|
||||
|
||||
enum MachineMovement {
|
||||
pub enum MachineMovement {
|
||||
Left,
|
||||
Right,
|
||||
}
|
||||
Reference in new issue
Block a user