@turing-machine-js/machine

1.0.0 • Public • Published

@turing-machine-js/machine

Build Status npm (tag)

Some basic objects to build your own turing machine

Install

Using npm:

npm install @turing-machine-js/machine

or using yarn:

yarn add @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

2

Version

1.0.0

License

GPL-3.0-or-later

Unpacked Size

58.3 kB

Total Files

5

Last publish

Collaborators

  • mellonis