彳亍
Chinese text where only the radicals count. 你 and 他 both add one, because both have the person radical on the left.
None1, 2025 · Turing complete: unknown · ●●○ moderate · esolangs.org
Tested with 4 known programs · Test method
Run it
The idea
None1 made 彳亍 in 2025. A command is not a character but a radical, the part a Chinese dictionary sorts characters by. Every character with ⺅ on its left adds 1, every character with 氵 on its left pushes 0, and a character whose radical is not on the list does nothing. So a program can be written to read as ordinary text, and the specification has a short poem that it says prints 114514. With the 2.0 commands its 有 divides and its 字 adds, so under 2.0 it prints 11451-1.
Read the story
The stack holds whole numbers of any size. A second stack, compare and dig came as extensions, and four arithmetic radicals that work like Befunge's came with version 2.0.
The machine
| Radical | For example | Does |
|---|---|---|
| ⺅ | 你 他 | Add 1 to the top |
| 口 | 吃 吵 | Take 1 from the top |
| 彳 | 行 衡 | Swap the top two |
| ⺨ ⺖ | 猫 惊 | Print the top as a character or a number |
| ⺡ 火 | 河 烧 | Push 0; pop |
| ⻖ left, right | 阳 郴 | Loop while the top is not 0 |
| 木 ⺘ | 桂 打 | Halt; clear the stack |
| ⻐ ⺣ 艹 | 铁 热 草 | Push 0 or 1 at random; read a number; read a character |
| 光 | 辉 | Square the top |
| 冫 ⺮ 土 | 冰 等 墙 | Move the bottom to the top; compare the top two; switch stacks |
| 宀 饣 日 月 | 宝 饥 时 臂 | Add, subtract, multiply, divide the top two |
狂 prints the whole stack as characters and 怀 as numbers, then empty it. An empty stack reads as 0. When a character has more than one listed radical, the first one in the list counts.
This implementation is a subset. It knows the radicals of 355 characters, the specification's examples, the characters of its programs and common characters with the radical in the place the specification names. Every other character does nothing in this implementation, where the language would give it its radical's command.
Example
The Hello world builds 72 by 3, squared, less 1, squared, plus 8, and walks from letter to letter.
The Hello world builds 72 by 3, squared, less 1, squared, plus 8, and walks from letter to letter. 猫 prints without popping.
The truth machine and the cat. 热 reads a number, 蒹 and 葭 read a character, and the loop from 阳 to 郴 or 邓 runs while the top is not 0. The cat stops at the end of input, which reads as 0.
The XKCD random number prints with 猫, so its 4 comes out as the character with code 4. With 惊 it prints the digit. Version 2.0 multiplies with 时.
Further
Ideas it shows
See also
CJK
Write your own in Run Convert a program from 彳亍
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: u5f73-4e8d.
Command line
shib run u5f73-4e8d -e '热惊阳惊郴' --input '0'shib manual u5f73-4e8dSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/u5f73-4e8d.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org