Skullf█ck JIT Compiler, or bfjit, is a just-in-time compiler designed specifically for Brainf█ck code execution on AMD64 Linux machines. This Haskell program provides optimized performance for Brainf█ck programs, allowing for efficient and speedy execution.
To use the Skullf█ck JIT Compiler, follow these steps:
- Clone the repository:
git clone https://github.com/illyaveksler/bfjit.git
The bfjit compiler takes Brainf█ck code as input and generates optimized machine code for execution. To run the compiler with ghci
, follow these steps:
-
Start
ghci
with the compiled object files:ghci wrapper.o
-
Import the main module:
:l Main
-
Run the Skullf█ck JIT Compiler:
main ""
Here are some example Brainf█ck programs that you can try with the Skullf█ck JIT Compiler:
+[-->-[>>+>-----<<]<--<---]>-.>>>+.>>..+++[.>]<<<<.+++.------.<<-.>>>>+.
,[.,]
Feel free to experiment with these examples using the Skullf█ck JIT Compiler! Run your Brainf█ck programs with ghci
as described above.
Skullf█ck was built with heavy referencing from tsoding's work on https://github.com/tsoding/bfjit.