PHP Classes
elePHPant
Icontem

Brainf_uck Interpreter Class: Interpret and execute Brainf_uck language code

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-04-17 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 12 All time: 9,490 This week: 531Up
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

  Performance   Level  
Name: Name Removed <contact>
Classes: 4 packages by
Country: ???

  Files folder image Files  
File Role Description
Plain text file bf.class.php Class Class Source
Accessible without login Plain text file example.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:12
This week:0
All time:9,490
This week:531Up