2025-06-22 13:43:18 +02:00
2025-06-22 13:41:26 +02:00
2025-06-22 13:41:26 +02:00
2025-06-22 13:40:15 +02:00
2025-06-22 13:43:18 +02:00
2025-06-22 13:41:57 +02:00

Brainfuck compiler In Haskell

ts sucks but i love it

what you need

  • GHC (to compile the haskell code)
  • Nasm (to assemble the generated assembly)
  • ld (to link it and stuff, should already be installed tho)

how to use

run ghc main.hs

do ./main <path to bf> to generate the assembly (you need to assemble it yourself by doing nasm -felf64 -o bf.o bf.asm && ld -o bf bf.o, you may need to do some linking shenanigans depending on your distro)

linux only

Description
Brainfuck compiler in haskell
Readme MIT 28 KiB
Languages
Haskell 91.3%
Brainfuck 8.7%