# emojicode **Repository Path**: mirrors/emojicode ## Basic Information - **Project Name**: emojicode - **Description**: Emojicode是一种开源的,拥有多范型的结构和流程的语言,可以让你用 Emoji 表情来编写程序 - **Primary Language**: C/C++ - **License**: Artistic-2.0 - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/emojicode - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-09-28 - **Last Updated**: 2025-09-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Emojicode [![Build Status](https://travis-ci.org/emojicode/emojicode.svg?branch=master)](https://travis-ci.org/emojicode/emojicode) [![Join the chat at https://gitter.im/emojicode/emojicode][image-2]][2] 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 how to install Emojicode visit https://www.emojicode.org/.** We highly recommend to follow Emojicode’s Twitter account [@Real\_Emojicode][6] to stay up with the latest. ## 🔨 Building from source ### 🏡 Building locally Prerequisites (versions are recommendations): - clang and clang++ 6.0.1 or gcc and g++ 7.2 - CMake 3.5.1+ and (preferably) Ninja - LLVM 7 - Python 3.5.2+ for testing Steps: 1. Clone Emojicode (or download the source code and extract it) and navigate into it: ```sh git clone https://github.com/emojicode/emojicode cd emojicode ``` 2. Create a `build` directory and run CMake in it: ```sh mkdir build cd build cmake .. -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. 3. Build the Compiler and Packages: ```sh ninja ``` 4. You can now test Emojicode: ```sh ninja tests ``` 5. The binaries are ready for use! You can the perform a magic installation right away ```sh ninja magicinstall ``` or just package the binaries and headers properly ```sh ninja dist ``` To create a distribution archive you must call the dist script yourself (e.g. `python3 ../dist.py .. archive`). ### 🐋 Building using Docker A `Dockerfile` is available for building in a Ubuntu `18.04` environment. Steps: 1. Clone Emojicode (or download the source code and extract it) and navigate into it: ```sh git clone https://github.com/emojicode/emojicode cd emojicode ``` 2. Build Docker image: ```sh docker build -t emojicode-build -f docker/clang . ``` 3. Verify the installation was fine and tests pass: ``` docker run --rm emojicode-build ... ✅ ✅ All tests passed. ``` 4. Start image (and mount a directory to it): ```sh docker run --rm -v $(pwd)/code:/workspace -it emojicode-build /bin/bash ``` 5. Start coding! ```sh emojicodec /workspace/hello.🍇 && ./workspace/hello ``` ## 📃 License Emojicode [is licensed under the Artistic License 2.0][8]. If you don’t want to read the whole license, here’s 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. [2]: https://gitter.im/emojicode/emojicode?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge [6]: https://twitter.com/Real_Emojicode [7]: https://github.com/emojicode/emojicode/blob/master/0.6.md#help-improving-emojicodes-syntax- [8]: LICENSE [image-1]: https://app.codeship.com/projects/edbc3220-f394-0134-fad2-66135ababc06/status?branch=master [image-2]: https://badges.gitter.im/emojicode/emojicode.svg