Easily execute reversed-c programming language
10K+
This image is part of the esolang-box project (v2.6.0).
esolang-box provides a consistent, Docker-based interface for running 244 programming languages — from mainstream languages to obscure esoteric programming languages.
Every image in the collection follows the same interface:
This means you can switch between languages without changing how you invoke them. All images are available under the esolang/ namespace on Docker Hub.
The reversed-c command (also aliased as script) runs the reversed-c interpreter inside this image.
$ ls
hello.rev-c
$ docker run --rm -v "$PWD":/code:ro esolang/reversed-c reversed-c /code/hello.rev-c
Hello, World!
$ docker run -i --rm -v "$PWD":/code:ro esolang/reversed-c reversed-c /code/hello.rev-c < input.txt
Useful for debugging or exploring the image environment.
$ docker run -it --rm -v "$PWD":/code:ro esolang/reversed-c sh
# reversed-c /code/hello.rev-c
Hello, World!
esolang-box supports tracing execve and execveat syscalls. Set the STRACE_OUTPUT_PATH environment variable and grant the SYS_PTRACE capability to write a strace log to the specified path.
$ docker run --cap-add=SYS_PTRACE --rm -v "$PWD":/code \
--env STRACE_OUTPUT_PATH=/code/strace.txt \
esolang/reversed-c reversed-c /code/hello.rev-c
Hello, World!
Notes:
--cap-add=SYS_PTRACE on such systems (e.g. Ubuntu Xenial).This image includes a disasm command that converts a reversed-c program into a more human-readable form.
$ docker run --rm -v "$PWD":/code:ro esolang/reversed-c disasm /code/hello.rev-c
Content type
Image
Digest
sha256:a1ef0f646…
Size
150.8 MB
Last updated
5 months ago
docker pull esolang/reversed-c