emojicode programming languageemojicode programming languageShort Bytes: There’s a new programming language in town and it’s the happiest language you’ll ever meet. Emojicode, an open source and multi-paradigm language, uses all type, method, class method and initializer names are Emojis. Know more about it and make your code merrier.

Emojicode is a new open source, multi-paradigm, object-oriented, high-level programming language consisting of emojis. This static and strongly typed programming language could easily be called the happiest programming language.

It isn’t limited to emojis and making things more beautiful. Using Emojicode, you can create fast cross-platform applications. In this hybrid language, emojis structure the program and its flow.

All type, method, class method and initializer names are Emojis. However, variables cannot include emojis or spaces, and they must be a combination of characters.

As mentioned above, Emojicode is a multi-paradigm language, thanks to its abilities like Optionals, Object-orientation, Generics and Closures. With a focus on system integration, it provides a consistent and stable interface.

? ? ?
  ?? ? ➡️ ? ?
    ? Let’s print a few fibonaccis.

    ? i 0
    ? a 0
    ? b 1

    ? ◀️ i 15 ?
      ? r ➕ a b
      ? a b
      ? b r
      ? ??? r 10
      ? i

    ? 0

The Emojicode Real-Time Engine is a very important part of Emojicode langauge as it actually executes your program. Weighing just 100 kilobytes, the Engine is faster than ordinary virtual machines. It takes the bytecode file and executes it. The Engine runs on cross platforms like OS X, Ubuntu, Debian, Raspbian and more.

Installing Emojicode and getting started:

You can download Emojicode’s SDK for your machine from here: https://github.com/emojicode/emojicode/releases. After this extract the tar file.

Now run the install.sh script in the extracted directory with root privileges. If you are running a Linux machine, you need to install ttf-ancient-fonts.

What if no Emojicode binary available for my machine?

In case no binary is available for your system, you can build the Emojicode directly yourself. To do this, download the source code from GitHub. Note that you need clang or Gcc 4.7+, make, and SDL2 to compile the SDL package.

Not extract the downloaded package, navigate to it and run make command to compile everything. While compiling the engine, you can specify the heap size in bytes (default = 512MB). Now, after hitting the run command, run install.sh with root privileges.

You can read more documentation on the Emojicode website and GitHub.

For the best online courses, you can check out the eLearning courses on fossBytes Store.

Adarsh Verma
Fossbytes co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email — [email protected]