brainfuck haskell interpreter, compiler and JIT
- Haskell 81.7%
- LLVM 14.6%
- Nix 3.7%
| IR | ||
| lib | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| brainfuckhs.cabal | ||
| cabal.project.local | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
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