Culture

You Can Now Code With Emoji

A new programming language employs emoji.

by Adam Toobin

Emojis have more or less taken over the English language. No text or tweet can really be thought complete without a little ๐Ÿ˜‚๐Ÿ”ฅ๐Ÿ˜€ to drive home the message.

Now, one of the last bastions of the written words has finally gone over to the light side โ€” a new programming language employs emoji to run commands and make programs.

And emojicode is not a superficial language either. Itโ€™s a high-level programming language that supports cross-platform applications and executes commands faster than a typical virtual processor. In the words of its creators:

Emojicode is a delimiter-less, object orientated, imperative, high-level, hybrid language. Its language fix points and methods are emoji. Emojicode has a focus on integrating systems well, being Unicode compatible, and providing a stable and consistent interface.

You may still need traditional text to set variables, but the language is remarkably emoji-proficient. However, reading the how-to guide takes you down something of a rabbit hole of bizarre sentence structure and half-emotion, half-technical application confusion.

This is the minimum structure every program must have. ๐Ÿ‡ ๐Ÿผ๏ฟผ ๐Ÿ‡ defines a class called ๐Ÿผ. ๐Ÿ‡๐Ÿ– ๏ฟฝโžก๏ธโžก๏ธ ๐Ÿš‚ ๐Ÿ‡ defines a class method called ๐Ÿ, which returns ๐Ÿš‚, an integer. ๐ŸŽ 0 returns the value.

There is a certain amount of logic in the way the program uses emoji. For example: โ€œWhen a program is run, the class method ๐Ÿ is called to start the program.โ€ That makes sense: A racing flag signals โ€œGo.โ€

On the other hand, weโ€™re not sure what to make of a sentence like this one: โ€œ๐Ÿ‹ ๏ฟผ๐Ÿ”ก ๐Ÿ‡ says: Extend the class ๐Ÿ”ก (Thatโ€™s the string class). ๐Ÿ– ๐Ÿท โžก๏ธ ๐Ÿ”ก๏ฟผ declares a method called ๐Ÿท and returning an instance of the ๐Ÿ”ก class๏ฟผ๏ฟผ.โ€