| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
SMType
Description
This module represents types of S-machine.
Documentation
Instances
| Eq StateName Source # | |
| Ord StateName Source # | |
| Show StateName Source # | |
SMTag is a tag for S-machines and shows what kind is it.
T4 for S-machine number 4.
T9 for number 9.
TAlpha for alpha S-machine.
TOmega for omega S-machine.
This is data type of Turing machine commands and has uses in StateVal in order to define for which command belongs to StatevVal.
Constructors
| Command [TapeCommand] | |
| CommandAlias String |
This data type represents state of S-machine SM.
s_name represents a name of State.
s_idx represents a low index of State.
Constructors
| State | |
This data type represents a tape letter of S-machine SM.
This is a data type of symbols that can be on SM tape.
Symbols can be Y (SmbY), its invertions (SmbY') and State (SmbQ).
This is a rule of the S-machine SM.
Left part of the pair represents what substitute.
Right part -- for what substitute.