feat: add tape head movement and dynamic growth

This commit is contained in:
leonhard committed 2026-11-11 16:35:02 +01:00
1 parent a3621f6201
commit c69afef621
2 files changed
+74 -3

No files matched your search

+2 -2
View File
@@ -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,
}