Optimized Brainfuck Interpreter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Matthilde 0b1a59f6bb First commit 4 months ago
.gitignore First commit 4 months ago
LICENSE First commit 4 months ago
README.txt First commit 4 months ago
benchmark.txt First commit 4 months ago
bfvm.c First commit 4 months ago
hello.bf First commit 4 months ago
mandelbrot.bf First commit 4 months ago
naive.c First commit 4 months ago

README.txt

BFVM by matthilde

This is an optimized brainfuck interpreter that uses a VM with an instruction
set designed to run brainfuck.
The assembler includes a few optimizations to improve speed greatly

FILES
=====

bfvm.c - The brainfuck interpreter, code is commented
naive.c - A naive brainfuck interpreter I wrote a year ago
benchmark.txt - The benchmarks
hello.bf - Hello World
mandelbrot.bf - A copy of the mandelbrot fractals algorithm in brainfuck

COMPILING
=========

Compiling the brainfuck interpreter

cc bfvm.c -o bfvm

Compiling the naive brainfuck interpreter

cc naive.c -o naive

USAGE
=====

bfvm [-v] FILENAME
-v is to enable verbose logs, used to debug the assembler

naive FILENAME

LICENSE
=======

Look, I don't care about this piece of software. Do whatever you want with it
tbh, belongs to public domain i guess