esolang

Kiwiscript

Every program prints kiwi.

2023 · Turing complete: no · ●○○ easy · esolangs.org

Tested with 4 known programs · Test method

Run it

Expected: kiwi

The idea

Kiwiscript is a constant language, defined as ConstantLanguage("kiwi"). Nothing in the program matters; it prints kiwi. The joke is the list of examples. The specification gives a kiwi program in 19 other languages, from brainfuck and Befunge to wenyan, and each of them is also a Kiwiscript program that prints the same thing.

The machine

There is none. The program is never read. Output is the four letters and a newline, the way the ConstantLanguage() interpreter prints its text.

Example

The Befunge example from the specification, then the brainfuck one, then version 1.5.1 of BF253's.

The Befunge example from the specification, then the brainfuck one, then version 1.5.1 of BF253's.

Expected: kiwi
Expected: kiwi

Further

Ideas it shows

Also in Jokes

Write your own in Run Convert a program from Kiwiscript

Implementation

JavaScript interpreter, source and command line

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

Command line

shib run kiwiscript -e 'K'
shib manual kiwiscript

Source

Module
langs/wiki/ports.js
Interpreter
langs/wiki/kiwiscript.js

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

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