Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,41 @@ | ||
# emojiscript | ||
# EmojiScript | ||
A modern, dynamically typed, state of the art programming language | ||
|
||
Dependencies: Haskell, Node JS, jQuery | ||
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🌛 | ||
``` | ||
|
||
Dependencies: Haskell | ||
Usage: `emojiscript <sourcefile.emoji> [optional: <substitutionsfile.txt>]` |