2024-03-21 16:13:32 +01:00
2024-03-21 16:00:41 +01:00
2024-03-21 16:00:41 +01:00
2024-03-21 16:00:41 +01:00
2024-03-21 16:03:24 +01:00
2024-03-21 16:13:32 +01:00

Turing Machine

What is a Turing Machine?

https://en.wikipedia.org/wiki/Turing_machine

How to use

(1) Create a new touring mashine

let turing_machine: TuringMachine = TuringMachine::new();

(2) Configure the belt

turing_machine.set_belt(index: usize, value: Value);

(3) Configure the state machine  (3.1) Set the transitions

turing_machine.set_transition(state: u64, trigger: Value, next_state: u64);

 (3.1) Set the actions

turing_machine.set_action(state: u64, trigger: Value, action: Action);

(4) Run the machine

turing_machine.start();
Description
A simple Turing Machine written in Rust
Readme 30 KiB
Languages
Rust 100%