Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkostyukov/brainfuck-wiki-extension
Brainfuck interpreter as Wiki Extension
https://github.com/vkostyukov/brainfuck-wiki-extension
Last synced: 7 days ago
JSON representation
Brainfuck interpreter as Wiki Extension
- Host: GitHub
- URL: https://github.com/vkostyukov/brainfuck-wiki-extension
- Owner: vkostyukov
- Created: 2012-05-11T11:43:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-18T15:38:08.000Z (over 12 years ago)
- Last Synced: 2024-05-01T21:18:23.743Z (7 months ago)
- Language: PHP
- Homepage: http://www.mediawiki.org/wiki/Extension:Brainfuck
- Size: 109 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
= SUMMARY =
Brainfuck Embedded Interpreter - is a Media Wiki Extension which allows to interpret Brainfuck code on Wiki pages.
= USAGE =
There are two ways to use this extension: a) through parser function b) through tag.
The following examples are renders as "BF" string (like "BrainFuck"):
a) {{#brainfuck:>++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.}}
or
{{#bf:>++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.}}b) >++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.
or
>++++++++++[>+++++++>+++++++><<<-]>---->><<<>.>.= INSTALLATION =
1) Put file "Brainfuck.php" into new Wiki extension directory:
$IP/extensions/Brainfuck/Brainfuck.php
2) Add following line to "LocalSettings.php":
require_once("$IP/extensions/Brainfuck/Brainfuck.php");
= CHANGELOG =
v 0.3 (May 2012)
* added error handling (interpret errors, parse errors)v 0.2 (May 2012)
* rewrote whole code in OOP-stylev 0.1 (May 2012)
* basic working version= TODO =
* Add performance counters to interpreters (instructions executed, loops iterations performed, etc ..) (v 0.7)
* Add alternative interpreter implementation (StackInterpreter for example) (v 0.6)
* Allow to interpret more than one source (v 0.5)
* Add parameters to interpreter (v 0.4)= CONTACTS =
Author: Vladimir Kostyukov
GitHub page: https://github.com/vkostyukov/brainfuck-wiki-extension
Extension page: http://www.mediawiki.org/wiki/Extension:Brainfuck