Skip to content

Latest commit

History

History
99 lines (69 loc) 路 3.36 KB

README.md

File metadata and controls

99 lines (69 loc) 路 3.36 KB

Emojicode Build Status Join the chat at https://gitter.im/emojicode/emojicode

Emojicode is an open source, high-level, multi-paradigm programming language consisting of emojis. It features Object-Orientation, Optionals, Generics and Closures.

馃弫 Getting Started

To learn more about the language and get started quickly visit Emojicode鈥檚 documentation.

You can easily install Emojicode from our stable prebuilt binaries. See Installing Emojicode for instructions.

馃棡 Staying up to date

Follow Emojicode鈥檚 Twitter account @Real_Emojicode.

馃敤 Building from source

If you don鈥檛 want to use the prebuilt binaries, you can of course also build Emojicode from source.

These build instructions only apply to the latest code in the master branch. To build previous versions, please consult the according README.md by cloning the repository and checking out a version: git checkout v0.3

Prerequisites:

  • clang and clang++ 3.4 or newer, or
  • gcc and g++ 4.9 or newer
  • CMake 3.5.1 and (preferably) Ninja
  • Python 3.5.2 or above to pack for distribution and run tests
  • Allegro 5 to compile the allegro package
    • sudo apt-get install liballegro5-dev on Debian/Ubuntu
    • brew install allegro on OS X

Steps:

  1. Clone Emojicode (or download the source code and extract it) and navigate into it:

    git clone https://github.com/emojicode/emojicode
    cd emojicode
    
  2. Create a build directory and run CMake in it:

mkdir build
cd build
cmake .. -GNinja

You can specify the heap size in bytes, which defaults to 512MB, with -DheapSize and the default package search path with -DdefaultPackagesDirectory like so:

cmake -DheapSize=128000000 -DdefaultPackagesDirectory=/opt/strange/place .. -GNinja

You can of course also run CMake in another directory or use another build system than Ninja. Refer to the CMake documentation for more information.

  1. Build the Compiler and Real-Time Engine:

    ninja
    
  2. You can now test Emojicode:

    ninja tests
    

    and take the distribution package created inside the build directory.

馃摑 Contributions

Want to improve something? Great! First of all, please be nice and helpful. You can help in lots of ways, like reporting bugs, fixing bugs, improving the documentation, suggesting new features, or implementing new features.

Whatever you want to do, please look for an existing issue or create a new one to discuss your plans briefly.

馃搩 License

Emojicode is licensed under the Artistic License 2.0. If you don鈥檛 want to read the whole license, here鈥檚 a summary without legal force:

  • You are allowed to download, use, copy, publish and distribute Emojicode.
  • You are allowed to create modified versions of Emojicode but you may only distribute them on some conditions.
  • The license contains a grant of patent rights and does not allow you to use any trademark, service mark, tradename, or logo.
  • Emojicode comes with absolutely no warranty.