@turing-machine-js/machine

2.0.0 • Public • Published

@turing-machine-js/machine

build npm (tag)

Some basic objects to build your own turing machine

Install

Using npm:

npm install @turing-machine-js/machine

Classes

Alphabet

Command

Reference

State

Tape

TapeBlock

TapeCommand

TuringMachine

Special objects

haltState

A special state for stopping the machine

ifOtherSymbol

A special symbol for representing the other symbols in State class definition

movements

  • left - move the head to the left
  • right - move the head to the right
  • stay - do not move the head

symbolCommands

  • erase - write the blank symbol
  • keep - leave the current symbol

Libraries

Links

Readme

Keywords

Package Sidebar

Install

npm i @turing-machine-js/machine

Weekly Downloads

8

Version

2.0.0

License

GPL-3.0-or-later

Unpacked Size

80 kB

Total Files

25

Last publish

Collaborators

  • mellonis