Skip to content

colinking/emojicode-packages

Repository files navigation

emojicode-packages

A handful of simple packages for Emojicode.

📦 helloworld 🔴

🐇 🐼 🍇
  🐇 🐖 🏁 ➡️ 🚂 🍇

    😀 🍩 🌍 👋
    😀 🍩 🙋 👋 🔤Hannah🔤

    🍎 0
  🍉
🍉
$ emojicodec helloworld.emojic
$ emojicode helloworld.emojib
Hello World!
Hello Hannah!

Package List

All commands are documented within their .emojic header files

  • helloworld
    • For a simple introduction to writing packages for Emojicode
  • commands
    • Run arbitrary system commands and have the output returned as a string

Installation

To install these packages:

  1. If you haven't already, install Emojicode

  2. Download the master branch of this repo and unzip it.

$ wget https://github.com/colinking/emojicode-packages/archive/master.zip
$ unzip master.zip
$ cd emojicode-packages-master
  1. Run make (You may need to run sudo make, since this symbolically links the packages to /usr/local/EmojicodePackages)

Write New Packages

To create a new package, named example-package:

  1. Create a new .emojic header file and .c implementation file in src/example-package/ named example-package.emojic and example-package.c, respectively

  2. Fill out the .emojic and .c files by using the helloworld package, commands package or any of the default Emojicode packages as references

  3. Add your package to the Makefile by adding it to the PACKAGES variable: PACKAGES = helloworld commands example-package

  4. Run make

  5. Import your new package with 📦 example-package 🔴

About

A handful of simple packages for Emojicode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published