Skip to content

lloydlobo/BFInterpreter

Repository files navigation

BFInterpreter

A Brainfuck interpreter written in F# with REPL and comprehensive testing.

Usage

# Interactive REPL mode
dotnet run
# Execute Brainfuck code directly
dotnet run "+++++++++[>++++++++<-]>.+.+.+." # HIJK

# With input
dotnet run ",." "Hello" # H

Build & Test

make build    # Build project
make test     # Run tests
make publish  # Create cross-platform releases

Brainfuck Operations

Command Description
> < Move pointer
+ - Increment/decrement cell
. , Output/input character
[ ] Loop control

Preview

dotnet run

run.gif

dotnet test

test.gif

About

A simple BF interpreter in F#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors