Project

emoji_lang

0.0
No commit activity in last 3 years
No release in over 3 years
Emoji Lang Ruby implementation
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.5
 Project Readme

Emoji Lang

Emoji Lang on top of any Ruby Virtual Machine.

See the emoji keywords and/or samples.

Open to suggestions and/or additional samples

INSTALLATION

gem install emoji_lang

USAGE

$ emojit my_script.emoj

Example: fizzbuzz

$ cat samples/fizzbuzz.emoj
🚌
  ✉🖘1
  🏃 ✉ 🐁❤ 100
    😸 ✉💣15 ❤ 0
      🖊 "fizzbuzz"
    😼 ✉💣3 ❤ 0
      🖊 "fizz"
    😼 ✉💣5 ❤ 0
      🖊 "buzz"
    😾
      🖊 ✉
    🙀
    ✉💪1
  🚶
🎓
$ emojit samples/fizzbuzz.emoj
1
2
fizz
4
buzz
fizz
7
8
fizz
buzz
11
fizz
13
14
fizzbuzz
...

You can turn on debug mode by using the -w option of the Ruby VM:

$ ruby -w bin/emojit samples/HelloWorld.emoj
L0000: def main
L0001:   puts "hello word"
L0002: end
L0003: main
hello word

Implementation derived heavily from franckverrot/arnoldc.rb