Brainf_uck Interpreter Class: Interpret and execute Brainf_uck language code

Recommend this page to a friend!
  Info   Example   View files (2)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 13 All time: 10,007 This week: 284
Version License PHP version Categories
bf_interpreter 1.0.1BSD License5PHP 5, Emulators, Parsers
Description Author

This class interprets and executes Brainf_uck language code.

It takes a string with the language source code and parses it to execute each character, reading data from the script input.

Currently it supports 8 commands and processes an array of character cells of up to 30000 positions.

- Get input value
- Output a value
- Increments the cell value
- Decrements the cell value
- Increments the cell pointer
- Decrements the cell pointer
- Start and end executing a block
- Supports nested loops

Picture of Name Removed
  Performance   Level  
Name: Name Removed <contact>
Classes: 4 packages by
Country: ???
Age: ???
All time rank: 2168
Week rank: 243

File Role Description
bf.class.php Class Class Source
example.php Example Example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,007
This week:284

For more information send a message to info at phpclasses dot org.