/bf-interpreter

An interpreter for the Brainfuck language, written in C.

Primary LanguageCMIT LicenseMIT

bf-interpreter

An interpreter for the Brainfuck language, written in C.

Features

  • Dynamic memory allocation of data cells.
  • Allows source files up to 128MB! (Can be altered in source code.)

Building

git clone https://github.com/peterc-s/bf-interpreter

Make sure you have the Zig toolchain installed and that the latest commit does not have a WIP tag.

zig build

Will build the binary and put it into zig-out/bin/.

TODO

  • More robust error handling with better error messaging.
  • Find a better way to free before exiting (best practice).
  • Figure out why ROT13 example from wikipedia doesn't work.
  • Tests.