esolang

Brainloller

brainfuck as a picture. Each colour is a command, and two more colours turn the pointer. This implementation writes the colours as letters.

2005 · esolangs.org

Tested with 3 examples and 3 known programs · Test method

Run it

Hello World

Expected output

Hello World!

Output


What it is

Brainloller as text: R r G g B b Y y = > < + - . , [ ] (bright/dark red, green, blue, yellow), C c turn clockwise/counter

How its machine works

Its machine has a two-dimensional program.

Examples

Hello World

Expected output

Hello World!

Output


Example

Expected output

abc

Output


Quirks

  • A run stops after 3,000,000 steps.

Brainloller builds on Brainfuck.

Non-textual

Two-dimensional languages

Write your own in Run Convert a program from Brainloller

Implementation

JavaScript interpreter, source and command line

A JavaScript interpreter, used in the browser and on the command line. Id: brainloller.

Command line

shib run brainloller -e 'bBC
cbC
cBC
cbC
cB.' --input 'abc'
shib manual brainloller

Source

Module
langs/grid/index.js
Interpreter
langs/grid/bfgrid.js

Docs: Kernel instructions · The .shib format · Command line · Adding a language

Source esolangs.org (CC0) · Edit on esolangs.org