Sign inSign up

ymcdull/emojicode

By ymcdull

•Updated over 10 years ago

This is a testing environment for emojicode.

Image
1

1.3K

ymcdull/emojicode repository overview

⁠ymcdull/emojicode

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.

⁠Dockerfile

FROM ubuntu

RUN apt-get update
RUN apt-get -y install wget vim ttf-ancient-fonts git
WORKDIR /home
RUN wget https://github.com/emojicode/emojicode/releases/download/v0.2.0-beta.5/Emojicode-0.2.0-beta.5-x86_64-linux-gnu.tar.gz
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 https://github.com/emojicode/emojicode sourcefile
ENV TERM xterm
RUN ./install.sh

⁠Usage

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

Tag summary

Content type

Image

Digest

Size

135.8 MB

Last updated

over 10 years ago

docker pull ymcdull/emojicode