Depricated: The official repository of Rill came to distribute Dockerfile. Use the official images.
This repository contains some Docker container definitions for the Rill programming language.
| Rill Version | Command | Memo |
|---|---|---|
| 2c2e05e | docker pull nekketsuuu/rill:2c2e05e |
Compatible with 進捗大陸01 |
docker run -it --rm nekketsuuu/rill bash # Note: Sometimes `sudo` is required.In the container, you can use rillc. For example,
# In the container...
rillc ~/rill/examples/fizzbuzz.rill -o a.out
./a.outYou can use this container as the Rill compiler by the following function on bash.
rillc () {
local args="$@" ;
docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/code" nekketsuuu/rill:latest bash -c "cd /code && rillc $args"
}Example:
cd rill/examples && rillc fizzbuzz.rill -o a.outTo build a docker container locally, run
docker build -t rill .
docker run -it --rm rill bashFeel free to make an issue or a pull-request!