The basic structure every program must have is π
, after which comes a code block (begins with π
and ends with π
).
Source code files must have the extension .emojic or .π.
π ππ
π
and βοΈ
is used to display output.
π ππ π€Hello, world!π€βοΈπ
In Emojicode, the program execution order goes from left to right; from top to bottom.
π ππ π€Hola!π€βοΈπ π€ΒΏCΓ³mo estΓ‘s?π€βοΈπ
In Emojicode, single-line comments are made with π
. Any text after the π
that is on the same line is not executed.
π The next line outputs "Hello"π π€Helloπ€βοΈ
Multiline comments are created with ππ
and ππ
. Any text in between is not executed.
ππThis is a comment.It will be ignored by the compiler.ππ