brainfuck haskell interpreter, compiler and JIT
  • Haskell 81.7%
  • LLVM 14.6%
  • Nix 3.7%
Find a file
2026-03-02 16:11:18 +01:00
IR Interpreter 1.0 Compiler 1.0 JIT 0.0 2026-03-02 15:53:52 +01:00
lib Interpreter 1.0 Compiler 1.0 JIT 0.0 2026-03-02 15:53:52 +01:00
src whops 2026-03-02 16:00:53 +01:00
.envrc Interpreter 1.0 Compiler 1.0 JIT 0.0 2026-03-02 15:53:52 +01:00
.gitignore Interpreter 1.0 Compiler 1.0 JIT 0.0 2026-03-02 15:53:52 +01:00
brainfuckhs.cabal whops 2026-03-02 16:00:53 +01:00
cabal.project.local Interpreter 1.0 Compiler 1.0 JIT 0.0 2026-03-02 15:53:52 +01:00
flake.lock Interpreter 1.0 Compiler 1.0 JIT 0.0 2026-03-02 15:53:52 +01:00
flake.nix Interpreter 1.0 Compiler 1.0 JIT 0.0 2026-03-02 15:53:52 +01:00
LICENSE add license 2026-03-02 16:04:55 +01:00
README.md Add README.md 2026-03-02 16:11:18 +01:00

bhfs

brainfuck haskell is a compiler interpreter and JIT(WIP) suite for brainfuck made in haskell and llvm IR, all code in the reposotory is licensed under the GPL-3.0-or-later

building

nix build

or alternatively

cabal build

devshell

nix develop

or just

direnv allow

if one uses direnv

usage

all binaries ship with a -h argoument that prints a helpful message

why

I wanted to learn IR and get better at haskell, this seemed the perfect opportunity