Emojicode compiler, see https://www.emojicode.org/.
Compile Emojicode applications without installing Emojicode locally.
$ docker build -t martingregoire/emojicode .
$ docker push martingregoire/emojicode
Create an Emojicode source file, for example the "hello world" program from the Emojicode documentation, and save it to helloworld.emojic
:
🏁 🍇
😀 🔤Hey!🔤❗️
🍉
Start a Docker container from this image, mounting your current directory to the /app
folder inside the container:
$ docker run --rm -it -v $PWD/:/app martingregoire/emojicode bash
You can then compile and run the program from the container like this:
root@371a6f1f5621:~# emojicodec /app/helloworld.emojic
root@371a6f1f5621:~# /app/helloworld
Hey!
Or you can compile the program through the container, and run it directly from you shell like this:
$ docker run --rm -it -v $PWD/:/app martingregoire/emojicode emojicodec /app/helloworld.emojic
$ ./helloworld
Hey!