Skip to content

danstewart/BFI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BFI

A simple Brainfuck interpreter and REPL written in perl.

Installation

Clone the project then run bf.pl. Once started enter a '?' to show the commands.

git clone https://github.com/danstewart/BFI.git
cd BFI/
./bf.pl

Dependencies

Brainfuck Instructions

+ : increment current cell
- : decrement current cell
, : read STDIN into cell
. : print cell to STDOUT
> : shift to next cell
< : shift to previous cell
[ : jump to ']' if current cell is 0, else go to next command
] : jump back to '[' if current cell is greater than 0, else go to next command

Screenshots

About

Brainfuck interpreter and REPL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages