esolang

Chicken chicken chicken: chicken chicken

Every name is a count of chickens. The language's own name is its cat program.

None1, 2025 · Turing complete: unknown · ●●○ moderate · esolangs.org

Tested with 4 known programs · Test method

Run it

Expected: meow

The idea

None1 made ccc:cc in 2025, after Chicken. Chicken has one word; ccc:cc keeps that word and adds punctuation, closer to the paper that inspired Chicken. A count of chickens names a variable, a function or a character. Three chickens is the output and two is the input, so the name of the language, chicken chicken chicken: chicken chicken, prints a line of input.

The machine

Periods split a program into sentences, counted from 1. A:a sets the variable A to the value of a. A value is a variable (a row of chickens), a character (chickens in double quotes, with the code of their count) or a function call (chickens, then arguments in parentheses).

ChickensAs a variable
1The number of the sentence running; setting it jumps there
2Reading it takes a line of input
3Setting it prints
4The adder; setting it adds, reading it gives the sum and clears it
5The multiplier, which starts at 1
6An ordinary variable that starts at 1
ChickensAs a function
1 (a)Minus a
2 (a,b,c)b if a is true, else c
3 ()A coin, 0 or 1
4 (a)The character with code a

There is no number literal. Numbers are whole and unbounded, a character counts as its code and a line of input as the number it spells. Any error prints chicken! and ends the program.

Example

The second is the XKCD random number.
Expected: 4

The second is the XKCD random number. The character of four chickens goes into the adder as the number 4, and then the adder is printed.

A+B reads two lines. The first goes straight into the adder, the second through variable 7.

Expected: 7
Expected: -42

The Hello, World! has thirteen sentences, one for each character, and 1,129 chickens inside its quotes. The first holds 72 of them, the code of H.

Further

Ideas it shows

Also in Camouflage

Write your own in Run Convert a program from Chicken chicken chicken: chicken chicken

Implementation

JavaScript interpreter, source and command line

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

Command line

shib run chicken-chicken-chicken-chicken-chicken -e 'chicken chicken chicken: chicken chicken' --input 'meow'
shib manual chicken-chicken-chicken-chicken-chicken

Source

Module
langs/wiki/ports.js
Interpreter
langs/wiki/chicken-chicken-chicken-chicken-chicken.js

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

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