Readability of Emojicode is high, but productivity of Emojicode is low because of the difficulty of emoji input. emojicode-transpiler will make coding with Emojicode much easier!
npm install -g emojicode-transpiler
-
Create an Emojicode source file based on Emojicode syntax and Transpilation Table.
// hello.π :checkered_flag: { :grinning: "Hello World!" ; }
-
Execute emojicode-transpiler with command
emojit
.
emojit hello.π
Result would be like this.
π hello.π
π π
π π€Hello World!π€ βοΈ
π
emoji | traditional coding keyword | GFM keyword |
---|---|---|
β | \ |
:x: |
βοΈ | ; |
:exclamation: |
π | { |
:grapes: |
π | } |
:watermelon: |
π€ | " |
:abc: |
πͺ | ``` | :cookie: |
π | // |
:thought_balloon: |
ππ | /* |
|
ππ | */ |
|
π | /** |
:green_book: |
π | **/ |
:green_book: |
π | /*** |
:blue_book: |
π | ***/ |
:blue_book: |
π€ | ( |
:fist_right: |
π€ | ) |
:fist_left: |
β | + |
:heavy_plus_sign: |
β | - |
:heavy_minus_sign: |
βοΈ | * |
:heavy_multiplication_x: |
β | / |
:heavy_division_sign: |
π¨ | l[ |
:ice_cream: |
π― | d[ |
:honey_pot: |
π | ] |
:eggplant: |
π¬ | : |
:candy: |
πΊ | unwrap |
:beer: |
π | main |
:checkered_flag: |
π | print |
:grinning: |
π | $ |
:crayon: |
ππ | var |
|
β‘οΈ | -> |
:right_arrow: |
π | true |
:thumbsup: |
π | false |
:thumbsdown: |
π | boolean |
:ok_hand: |
π§ | char |
:droplet: |
π’ | long |
:1234: |
π― | double |
:100: |
π‘ | string |
:abcd: |
βͺοΈ | if |
|
π | else |
:no_good: |
π | for |
:repeat_one: |
π | while |
:repeat: |
β© | range |
:fast_forward: |
β | step |
:next_track_button: |
π | = |
:raised_hands: |
> |
:arrow_forward: |
|
>= |
||
< |
:arrow_backward: |
|
<= |
||
π | class |
:rabbit2: |
Every traditional coding keywords are separated with whitespace characters. It's because Emojicode allows any letters for variable names except of whitespace. So, it can seem little bit awkward, but you have to separator every keyword if it is a traditional coding keyword.
For example, you should not write codes like this.
main {
print "awsome!";
}
Instead, you should separate a double quote and a semicolon like below.
main {
print "awsome!" ;
}
On the other hand, there is no limitation for gfm keywords. You can write codes like this.
main {
:grinning: :abc:awsome!:abc::exclamation:
}
- Making Log (Korean): https://enhanced.kr/postviewer/133
- Emojicode documentation: https://www.emojicode.org/docs/