2017 © Pedro Peláez
 

library brainfuck

A PHP implementation of interpreter for Brainfuck

image

dotzero/brainfuck

A PHP implementation of interpreter for Brainfuck

  • Saturday, November 12, 2016
  • by dotzero
  • Repository
  • 1 Watchers
  • 2 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHP Brainfuck interpreter

Build Status Latest Stable Version License, (*1)

This is PHP implementation of interpreter for Brainfuck., (*2)

The brainfuck programming language is an esoteric programming language noted for its extreme minimalism. It is a Turing tarpit, designed to challenge and amuse programmers, and is not suitable for practical use., (*3)

Usage

$code = <<<EOT
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++
.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.
------.--------.>+.>.
EOT;

$bf = new Brainfuck($code);
$bf->run();

Install

Via composer:

$ composer require dotzero/brainfuck

Without composer

Clone the project using:, (*4)

$ git clone https://github.com/dotzero/brainfuck-php

and include the source file with:, (*5)

    require_once("brainfuck-php/src/Brainfuck.php");

Test

First install the dependencies, and after you can run:, (*6)

$ vendor/bin/phpunit

License

Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php, (*7)

The Versions

12/11 2016

dev-master

9999999-dev

A PHP implementation of interpreter for Brainfuck

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar dotzero

interpreter brainfuck

12/11 2016

1.1

1.1.0.0

A PHP implementation of interpreter for Brainfuck

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar dotzero

interpreter brainfuck

12/04 2016

1.0

1.0.0.0

A PHP implementation of interpreter for Brainfuck

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar dotzero

interpreter brainfuck