/brainfuck

a brainfuck interpreter written in zig

Primary LanguageZigMIT LicenseMIT

brainfuck

a brainfuck interpreter written in zig. check out the brainfuck spec for details.

commands

  • build with zig build
  • run with zig build run -- examples/hello-world.bf
  • test with zig build test

examples

  • 99 bottles
  • bsort (pass stdin eg echo 876545678 | brainfuck path/to/file.bf)
  • fib
  • hanoi
  • hello world
  • input
  • lost kingdom
  • mandel
  • qsort
  • sierpinski

zig version

most recently compiled with zig 0.13.0