Skip to content

martingregoire/docker-emojicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Emojicode Docker image

Emojicode compiler, see https://www.emojicode.org/.

Description

Compile Emojicode applications without installing Emojicode locally.

Build

$ docker build -t martingregoire/emojicode .

Push to Docker hub

$ docker push martingregoire/emojicode

Usage

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!

About

Docker image containing the Emojicode compiler, see https://www.emojicode.org/.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published