Triplet CommandsHello, world! programNoteNavigation menu
Brainfuck equivalentsLanguagesCell-basedJoke languagesTuring completeImplementedLow-level2001
BrainfuckOok!
Triplet
From Esolang
Triplet is a (yet another) joke fork of Brainfuck, with the instructions changed into binary triplets.
Commands
Brainfuck | Triplet | Description |
---|---|---|
> | 001 | Move the pointer to the right |
< | 100 | Move the pointer to the left |
+ | 111 | Increment the memory cell under the pointer |
- | 000 | Decrement the memory cell under the pointer |
. | 010 | Output the character signified by the cell at the pointer |
, | 101 | Input a character and store it in the cell at the pointer |
[ | 110 | Jump past the matching ] if the cell under the pointer is 0 |
] | 011 | Jump back to the matching [ |
Hello, world! program
Note that in most interpreters, the spaces are not necessary.
001 111 111 111 111 111 111 111 111 111 110 100 111 111 111 111 111 111 111 111 001 000 011 100
010 001 111 111 111 111 111 111 111 110 100 111 111 111 111 001 000 011 100 111 010 111 111 111
111 111 111 111 010 010 111 111 111 010 001 001 001 111 111 111 111 111 111 111 111 110 100 111
111 111 111 001 000 011 100 010 001 001 001 111 111 111 111 111 111 111 111 111 111 110 100 111
111 111 111 111 111 111 111 111 001 000 011 100 000 000 000 010 100 100 100 100 010 111 111 111
010 000 000 000 000 000 000 010 000 000 000 000 000 000 000 000 010 001 001 111 010
Note
This page is a forked from Ook!
Categories:
- Brainfuck equivalents
- Languages
- Cell-based
- Joke languages
- Turing complete
- Implemented
- Low-level
- 2001
(window.RLQ=window.RLQ||[]).push(function()mw.config.set("wgPageParseReport":"limitreport":"cputime":"0.000","walltime":"0.003","ppvisitednodes":"value":29,"limit":1000000,"ppgeneratednodes":"value":56,"limit":1000000,"postexpandincludesize":"value":0,"limit":2097152,"templateargumentsize":"value":0,"limit":2097152,"expansiondepth":"value":2,"limit":40,"expensivefunctioncount":"value":0,"limit":100,"timingprofile":["100.00% 0.000 1 -total"],"cachereport":"timestamp":"20171210013531","ttl":86400,"transientcontent":false););(window.RLQ=window.RLQ||[]).push(function()mw.config.set("wgBackendResponseTime":24););