Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Six interesting emoji programming language tutorials in the world

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces "the course of six interesting emoji programming languages in the world". In daily operation, I believe that many people have doubts about the six kinds of emoji programming language tutorials that are very interesting in the world. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the questions of "six interesting emoji programming language tutorials in the world". Next, please follow the editor to study!

Who would have thought that our favorite emoticons could be used to design new programming languages? Smart and talented people have imagined and developed a mature programming language that we can use to write emoticons and emoji.

Most of these emoji-based languages are esoteric programming languages (esoteric programming language) called esolang. However, these languages are relatively easier to understand than other languages.

Esolang is defined as:

Esolang is not designed for ordinary software development purposes. They are just as proof of a concept or as a joke.

If you want to know the most difficult language in the world, you can take a look at my other article. Let's look at these five languages that can be programmed with emoticons and emoticons.

Emoji

Emoji uses a predefined list of emoticons to generate language commands that can be used as logos. Emoji is a stack-based language. All characters except emoticons are treated as characters. Here is printing Hello World on Emoji! The code snippet of.

Hello, Worldwide? ➡

The output is as follows:

This is the documentation for the language:

?: Read until the next? And puts that string onto the stack ⛽: Reads until the next? And puts that string onto the stack (can be nested, meant for storing functions) ➡: Prints a value from the stack?: Puts True onto the stack?: Puts False onto the stack?: Inverts a boolean value from the stack?: Adds two numbers from the stack?: Multiplies two numbers from the stack: Subtracts two numbers from the stack?: Divides two numbers from the stack?: Divides two numbers from the stack Returns the remainder?: Rounds a number to the nearest integer?: Rounds down a number from the stack?: Rounds up a number from the stack?: Converts a number to a hex string?: Converts a string to a number?: Checks if two numbers are equal?: Checks if a number is less than another?: Checks if a number is greater than another?: Takes a boolean from the stack. If false, skips to the next?. ?: If the last? Did not skip past stuff, skip to the next?. ?: Takes two strings from the stack. Runs the first, takes a boolean. If true, runs the second and repeats. ?: Duplicates a stack entry?: Converts a character to its character code?: Converts a character code to its character?: Takes two objects, saves the first to a variable identified by the second?: Takes an object, returns the value from the variable by that name?: Returns the length of a string or array from the stack ✂: Takes a string and two numbers. Returns the substring from the string from the first number (inclusive) to the second number (exclusive). ?: Evaluates a string?: Creates an empty array. ?: Takes an array and an object. Adds the object to the end of the array. Does not return anything, you'll want to use variables with this. ?: Takes an array or string and an index. Returns the value at that index. ?: Swaps two elements on the stack. ?: Capitalize a string. ?: Change a string to lowercase.

Emojicode

Emojicode is an object-oriented programming language, we can use emoji to code, in Emojicode, using emoji to make programming interesting. It is a strongly typed programming language. The authors of the language hate random null pointer exceptions, so in Emojicode, all instance variables need to be initialized, otherwise a compilation error will be thrown.

Here is printing Hello World on Emojicode! The code snippet of.

? Hello, World!? ❗️?

The output is as follows:

Emoji-gramming

Emoji-gramming is an esoteric programming language based on emoticons, which has a total of 25 variables and 4 commands, all represented by specific emoticons. Emoticons use heart symbols as constants, such as:

= 0? = 1? = 2? = 4? = 8

Microphone? Symbol represents input, loudspeaker (?) The symbol represents the printout, which seems to make sense. Here is the emoji that prints the code snippet of "Hello,World!":

? ♈?? ♈? ♉? ♉?? ♉? ♊?? ♊? ♊? ♈? ♈? ♊? ♈? ♈? ♉? ♈?? ♈

The output is as follows:

Emojicoder

This is a symbol system that uses specific emoticons to represent commands and parameters, and the binary values 0 and 1 define their respective emoticons in Emojicoder.

? = 0? = 1? = 01001000 = H

There are two modifiers in Emojicoders as follows:

?: Ascii Character 0-255?: Integer Number 0-255

To print parameters, the language uses hand emoticons. As an output command. Each command needs to be a new line. Now, using the above knowledge, let's print out Hello,World! on Emojicoder.

? / / Output H? / / Output e? / / Output l? / / Output l? / / Output o? / / Output ? / / Output space? / / Output w? / / Output o? / / Output r? / / Output l? / / Output d? / / Output!

The output is as follows:

Emotinomicon

Emotinomicon, designed and created by Connor O'Brien, no longer uses emoji, but uses emoji to encode. Here is printing Hello,World on Emotinomicon! The code snippet of.

DlroW, olleH? ⏪⏬⏩

The following is an explanation of the code snippet above, which can help you try to execute any other string and have some fun.

? begin quote string! dlroW, olleH? end quote string ⏪open loop ⏬pops and outputs top of stack as character ⏩close loop

The output is as follows:

Emotifuck

Emotifuck is written in Rust, which uses eight emoticons as commands, which, according to the language designer, is completely memory-safe.

The following is a list of commands and their equivalent symbols.

-Move Right (>)?-Move Left (

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report