📜 ⬆️ ⬇️

Esoteric programming language called "... your mother"

A funny esoteric programming language created by our Chinese colleagues.

The project is located on code.google.com and its name sounds something like “ * your mother.”

Why such a name? One of the wildly popular Internet memes on the Chinese Internet is the expression 草泥 马 (cao ni ma, literally “the horse of grass mud ”, see the Chinese slang dictionary ).
')
The humor is that “cao ni ma” sounds exactly like the Chinese expression “ * your mother”, the main Chinese curse word that is pronounced the same way, but is written differently. In terms of popularity, this meme can be compared, perhaps, with our “prelude,” which at one time almost all people communicating on the Internet knew.

In the programming language "Cao ni ma", only four lexemes are allowed, and all other characters are treated as comments:

- 草 (Cao; “grass”, sounds like “e *** b”);
- 泥 (nor; “dirt,” sounds like “your”);
- 马 (ma; “horse”, sounds like “mother”);
- 河蟹 (hese; “river crab”, sounds like “ harmonize ”, which in slang means “censored”). It means the end of the program.

An example of a program that performs a cycle from 1 to 10:

Text of the programHow does that soundWhat does
草 - 草 草泥 马* - * * your motherWrite unit to stack
马 - 草草 草泥 草草 草草 泥 泥 马mother - * * * your * * * * your motherSet label at this point
草 - 马 草* - mother *Duplicate top stack
泥 马 - 草泥your mother - s * yourPrint current value
草泥 草泥 草 马* * * your * your * motherPut on the stack 10 and the newline character)
泥 马 - 草草your mother - s * s *Print new line
Continuation of the sample program on code.google.com .

Source: https://habr.com/ru/post/78102/


All Articles