A modern, dynamically typed, state of the art programming language.
Instead of using syntax taking from the dull and boring english language, emojiscript takes advantage of the latest advances in unicode technology to provide you with a better way to write Javascript.
🔬 fizzbuzz🌜number🌛 ↪
🍀 🌜🍰 i ⚖ 1🛑 i 🔉⚖ number🛑 i⏩🌛 ↪
🍰 output ⚖ ""
🤔 🌜output ✂ 3 ⚖⚖ 0🌛 ↪
output ✝⚖ "Fizz"
↩
🤔 🌜output ✂ 5 ⚖⚖ 0🌛 ↪
output ✝⚖ "Buzz"
↩
🤔 🌜output ⚖⚖ ""🌛 ↪
console🍍log🌜i🌛
↩
👎 ↪
console🍍log🌜output🌛
↩
↩
↩
fizzbuzz🌜20🌛
console🍍log🌜"You can output reserved emojis as strings, and emojiscript won't replace them: "🌛
console🍍log🌜"🔨🏨👶\n"🌛
console🍍log🌜"You can even use Javascript's reserved words as variable names: "🌛
🍰 if ⚖ "if"
console🍍log🌜if🌛
Usage: emojiscript <sourcefile.emoji> [optional: <substitutionsfile.txt>]
This was created at HackBeanpot 2017.