A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Hello World in Emojicode page! Here, you'll find the source code for this program as well as a description of how the program works.
π π
π π€Hello, World!π€βοΈ
π
Hello World in Emojicode was written by:
If you see anything you'd like to change or update, please consider contributing.
Note: The solution shown above is the current solution in the Sample Programs repository as of May 13 2023 21:01:35. The solution was first committed on May 05 2018 17:08:17. As a result, documentation below may be outdated.
Let's take a look at the Hello World sample.
From there we will break down the rest.
First π
is symbolic of the starting flag in a race, and it represents that following it there will be a code block. Also when running it will run the code block that follows the Flag emoji.
Next, code blocks are denoted by starting with a π
, followed by the code, and ending with a π
.
One of the most important emojis is π
and this smiling emoji is passed a string and it outputs the string to standard output (in this case the string is Hello, World!
). It must be terminated with βοΈ
.
Finally, the π€
emoji is used similarly to "s
or 's
in other languages as it holds a string within a pair of them.
There is no better spot to learn how to run the Hello World program in Emojicode than directly from Emojicode Official Docs