Some basic objects to build your own turing machine
Using npm:
npm install @turing-machine-js/machine
A special state for stopping the machine
A special symbol for representing the other symbols in State
class definition
- left - move the head to the left
- right - move the head to the right
- stay - do not move the head
- erase - write the blank symbol
- keep - leave the current symbol
- Turing Machine on the Wikipedia