/brenfook

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

brenfook

Say it like an angry scottish man.


a brainfuck interpreter, a monad for writing brainfuck programs using a RAM-style interface, and a (simplistic) code optimizer

Features:

  • Allocation and freeing of single memory cells
  • Allocation and freeing of contiguous blocks of memory (arrays)
  • Control flow structures, such as if and while
  • Common instructions like addition, subtraction, assignment, copying