Difference between revisions of "Emojicode"

From Hackers and Designers
Jump to navigation Jump to search
(Created page with "= Emojicode Workshop = == About == [http://www.emojicode.org/ Emojicode] is an open-source, full-blown programming language consisting of emojis. == Workshop == Please not...")
ย 
Line 36: Line 36:
ย ย  ๐Ÿ ๐Ÿ‡
ย ย  ๐Ÿ ๐Ÿ‡
ย ย  ย  ๐Ÿ˜€ ๐Ÿ”คHello world!๐Ÿ”ค
ย ย  ย  ๐Ÿ˜€ ๐Ÿ”คHello world!๐Ÿ”ค
ย  ๐Ÿ‰
User input.
ย  ๐Ÿ ๐Ÿ‡
ย  ย  ๐Ÿฆ input ๐Ÿ”ท๐Ÿ”ก๐Ÿ˜ฏ ๐Ÿ”คAsk something here?>๐Ÿ”ค
ย  ย  ๐Ÿ˜€ input
ย ย  ๐Ÿ‰
ย ย  ๐Ÿ‰

Revision as of 14:58, 10 September 2017

Emojicode Workshop

About

Emojicode is an open-source, full-blown programming language consisting of emojis.

Workshop

Please note that lines that begin with $, should be executed with the Terminal and are NOT program syntax. This workshop also assumes you have completed the Emojiterm workshop. The $ should not be pasted in the terminal.

All other code blocks should be considered valid Emojicode syntax.

Create a file.

  $ ๐Ÿ“ myprog.emojic

The simplest Emojicode program looks as follows.

  ๐Ÿ ๐Ÿ‡
  ๐Ÿ‰

To save and exit the text editor (nano๐Ÿ“), first do Cntl+O, and then Cntl+X.

You can run it by first compiling it.

  $ emojicodec greeter.emojic

Running it.

  $ emojicode myprog.emojib

This program is so simple, it doesn't do anything.

The famous "Hello world!" example.

  ๐Ÿ ๐Ÿ‡
    ๐Ÿ˜€ ๐Ÿ”คHello world!๐Ÿ”ค
  ๐Ÿ‰

User input.

  ๐Ÿ ๐Ÿ‡
    ๐Ÿฆ input ๐Ÿ”ท๐Ÿ”ก๐Ÿ˜ฏ ๐Ÿ”คAsk something here?>๐Ÿ”ค
    ๐Ÿ˜€ input
  ๐Ÿ‰