Public | Automated Build

Last pushed: 3 years ago
Short Description
This is a testing environment for emojicode.
Full Description


emojicode is kind of like C language. We first need to write a source file with ".emojic" format, then use "emojicodec" to compile that file to output a ".emojib" file, which can be executed by "emojicode" command.


FROM ubuntu

RUN apt-get update
RUN apt-get -y install wget vim ttf-ancient-fonts git
RUN wget
RUN tar -zxvf Emojicode-0.2.0-beta.5-x86_64-linux-gnu.tar.gz
WORKDIR Emojicode-0.2.0-beta.5-x86_64-linux-gnu
RUN git clone sourcefile
ENV TERM xterm
RUN ./


Create a docker container and use bash to enter

$ docker run -it ymcdull/emojicode:latest bash 

Already inside of the container as the root identity, enter the test cases directory

$ cd sourcefile/tests/

Compile the ".emojic" file, and will generate ".emojib" file. Like compiling C language from .c to .o file, emojicode is from .emojic to .emojib

$ emojicodec rangeTest.emojic

Run the ".emojib" file

$ emojicode rangeTest.emojib
Docker Pull Command
Source Repository