From d7e57cfa9c17160808026401863a0102861a7310 Mon Sep 17 00:00:00 2001 From: mewhenthe Date: Sun, 22 Jun 2025 13:41:57 +0200 Subject: [PATCH] fix abab --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85b355c..4257a76 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ -# bfhaskell +# Brainfuck compiler In Haskell +*ts sucks but i love it* -Brainfuck compiler in haskell \ No newline at end of file +# 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 ` 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 \ No newline at end of file