Skip to content

dan3944/emojiscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmojiScript

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.

Sample code:

🔬 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.

About

A modern, dynamically typed, state of the art programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published