LABUBU
Two commands named after a toy. One gives a name a value and the other prints.
Digitpink, 2025 · Turing complete: no · ●○○ easy · esolangs.org
Tested with 2 known programs · Test method
Run it
The idea
Digitpink made LABUBU in 2025, after the Labubu toys. A program is plain text, one command a line. popmart gives a name a literal and labubu prints. There is no arithmetic, no input and no loop, so the specification puts it with the finite state machines and every program ends.
Read the story
Nothing is ever a syntax error. A line that is neither command prints Unknown command: and the line, and the program goes on.
The machine
| Line | Does |
|---|---|
popmart x = 42 | Give x a number |
popmart x = "text" | Give x a string, in single or double quotes |
labubu(a, b, ...) | Print the values joined by spaces, then a line feed |
| anything else | Print Unknown command: and the line |
In labubu, a name that holds a value prints the value, a quoted string prints its text and a number prints as a number. Any other token prints as it is.
Example
The example from the specification.
The example from the specification. The specification puts world in single quotes; double quotes do the same.
A token that names nothing prints raw, and a number loses its trailing zero.
A name must start with a letter or an underscore, so this line is neither command.
Patterns it teaches
- Every text runs: a line it does not know prints a message, not an error.
Further
See also
Also in Jokes
Write your own in Run Convert a program from LABUBU
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: labubu.
Command line
shib run labubu -e 'labubu("The answer is", x)'shib manual labubuSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/labubu.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org