Sign inSign up

hakatashi/esolang-box

By hakatashi

•Updated about 9 years ago

Esolangs value pack in a Docker image.

Image
0

450

hakatashi/esolang-box repository overview

⁠esolang-box 1.2.1 Build Status

Esolang value pack in a Docker image.

⁠Run built-in esolang program

$ docker run hakatashi/esolang-box hexagony assets/hello.hxg
Hello, World!

⁠Run your own esolang program

$ docker run -v `pwd`:/code:ro hakatashi/esolang-box hexagony /code/program.hxg

⁠Languages

⁠Practical Languages
⁠Esoteric Languages

⁠Blacklisted languages

Below are the list of the languages that cannot even do the minimal jobs needed for esolang-battle.

  • ArnorldC
  • Haystack
  • INTERCAL
  • ModanShogi
  • ~English
  • Python 1
  • ///
  • TrumpScript
  • Velato

⁠Build docker image

$ cd /path/to/esolang-box
$ docker build -t esolang-box .
⁠Debug mode
$ docker build -t test --build-arg debug=true .

⁠Run spec

Tested with Ruby 2.4.0

$ bundle install
$ bundle exec rspec

⁠Development Memo

sudo yum update -y
sudo yum install -y docker git openssl-devel readline-devel zlib-devel
sudo yum groupinstall -y "Development Tools"
sudo service docker start
sudo usermod -a -G docker ec2-user
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.4.0
rbenv global 2.4.0
gem install bundler
git clone https://github.com/hakatashi/dotfiles.git
ln -s dotfiles/.gitconfig
wget https://github.com/jwilder/docker-squash/releases/download/v0.2.0/docker-squash-linux-amd64-v0.2.0.tar.gz
sudo tar -C /usr/local/bin -xzvf docker-squash-linux-amd64-v0.2.0.tar.gz
git clone https://github.com/hakatashi/esolang-box.git
cd esolang-box
bundle install

Tag summary

Content type

Image

Digest

Size

638.7 MB

Last updated

about 9 years ago

docker pull hakatashi/esolang-box