esolang

Angry people outside my house

A tape of bits, programmed by shouting threats at it.

Tommyaweosme · Turing complete: yes · ●○○ easy · esolangs.org

Tested with 2 known programs · Test method

Run it

Expected: g

The idea

Tommyaweosme made a bit tape in the style of brainfuck and gave every command the voice of someone yelling outside the house. A cell holds one bit, the only change is a flip, and a character goes out as eight cells in a row. So a program reads as a long argument on the doorstep, and printing one letter takes about twenty lines of it.

The machine

PhraseDoes
HEY!Start the program
DONT FUCK WITH MEFlip the bit
THIS SHIT WILL GET YOU EVICTEDGo to the next cell
YOU SON OF A BITCHGo to the previous cell
SHITHEADPrint the bit as 0 or 1
SHITHEAD LITTLE PUNKPrint this bit and the next 7 as one character
*pause*Read a bit
*pause to intimidate*Read a character into this bit and the next 7
PEICE OF SHITSkip past the matching end if the bit is 0
I CAN GO IN YOUR HOUSE WHENEVER I WANTGo back to the matching start if the bit is 1

The tape has no end either way. A character is read and written high bit first, and the end of input reads as 0.

Example

The program for g, which is 103, or 01100111 in bits.

The program for g, which is 103, or 01100111 in bits. It sets five bits, then walks back seven cells, one cell further left than where it began, and prints the eight cells from there.

The truth machine. It flips the bit before its loop, so it runs the wrong way round. On 1 it prints 1 once and stops; on 0 it prints 0 forever.

Expected: 1

A character in and the same character out.

Expected: A

Patterns it teaches

Further

Pseudonatural

Cell-based

Write your own in Run Convert a program from Angry people outside my house

Implementation

JavaScript interpreter, source and command line

A JavaScript interpreter, used in the browser and on the command line. Id: angry-people-outside-my-house.

Command line

shib run angry-people-outside-my-house -e 'HEY!
*pause*
SHITHEAD
DONT FUCK WITH ME
PEICE OF SHIT
DONT FUCK WITH ME
SHITHEAD
DONT FUCK WITH ME
I CAN GO IN YOUR HOUSE WHENEVER I WANT' --input '1'
shib manual angry-people-outside-my-house

Source

Module
langs/wiki/ports.js
Interpreter
langs/wiki/angry-people-outside-my-house.js

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

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