Chicken you too beautiful
Brainfuck where every command is a word. Chicken adds one, you takes one away.
None1, 2023 · Turing complete: yes · ●○○ easy · esolangs.org
Tested with 3 known programs · Test method
Run it
The idea
None1 made this trivial brainfuck substitution in 2023 and also calls it JNTM. Its eight words are chicken, you, too, beautiful, sing, dance, rap and basketball, and programs are lists of them separated by spaces. Because it is brainfuck underneath, it is Turing complete, and thespecification even carries a brainfuck interpreter written in it.
The machine
| Word | brainfuck | Does |
|---|---|---|
chicken | + | Add 1 to the cell |
you | - | Subtract 1 |
too | < | Move left |
beautiful | > | Move right |
sing | , | Read a byte |
dance | . | Print the cell |
rap | [ | Skip the loop if the cell is 0 |
basketball | ] | Repeat while the cell is not 0 |
Cells are bytes that wrap from 255 to 0.
Example
The second program counts 8 times 9 into the next cell, which is 72, the code of H.
The second program counts 8 times 9 into the next cell, which is 72, the code of H.
Ideas it shows
See also
Chicken you too beautiful builds on Brainfuck.
Brainfuck equivalents
Pseudonatural
Write your own in Run Convert a program from Chicken you too beautiful
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: chicken-you-too-beautiful.
Command line
shib run chicken-you-too-beautiful -e 'sing rap dance sing basketball' --input 'meow'shib manual chicken-you-too-beautifulSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/chicken-you-too-beautiful.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org