| Copyright | (c) Allele Dev 2014 |
|---|---|
| License | BSD-3 |
| Maintainer | allele.dev@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Language.Brainfuck.Types
Description
Documentation
type DataPointer = Int Source #
DataPointer is an alias for the memory pointer
newtype ProgramCounter Source #
ProgramCounter is a nominal type to track the current instruction
while distinguishing it from DataPointer
Term represents the abstract syntax for the BF language
Constructors
| IncDP | > |
| DecDP | < |
| OutDP | ? |
| IncByte | + |
| DecByte | - |
| OutByte | . |
| InByte | , |
| JumpForward | [ |
| JumpBackward | ] |