Skip to content

Commit

Permalink
REBol says Hello!
Browse files Browse the repository at this point in the history
Relative Expression Based Object Language (REBOL, now known as Rebol)
used to be closed-source, but since Rebol3 it is not under Apache 2.0!
  • Loading branch information
frison committed Oct 29, 2024
1 parent 06b7c87 commit 80a72ea
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p align="center">
<a href="https://hub.docker.com/r/100hellos" alt="DockerHub!">
<img src="https://img.shields.io/badge/Hello%20World!-41_to_go-yellow"
<img src="https://img.shields.io/badge/Hello%20World!-40_to_go-yellow"
height="130"></a>
</p>

Expand Down
10 changes: 10 additions & 0 deletions rebol/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# syntax=docker/dockerfile:1
# escape=\
FROM 100hellos/000-base:local

RUN curl -o rebol3.gz -L https://github.com/Oldes/Rebol3/releases/download/3.18.0/rebol3-core-linux-x64-musl.gz && \
gunzip rebol3.gz && \
chmod +x rebol3 && \
sudo mv rebol3 /usr/local/bin/rebol3

COPY --chown=human:human ./files /hello-world
1 change: 1 addition & 0 deletions rebol/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../Makefile.language-container.mk
7 changes: 7 additions & 0 deletions rebol/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# REBOL

Rebol is a homoiconic language that was designed by Carl Sassenrath. It is a descendant of Lisp and Forth, and it is known for its simplicity and ease of use. Rebol is a cross-platform language that can be used for a variety of tasks, including scripting, web development, and data processing.

From [Wikipedia](https://en.wikipedia.org/wiki/Rebol):

> Douglas Crockford, known for his involvement in the development of JavaScript, has described Rebol as "a more modern language, but with some very similar ideas to Lisp, in that it's all built upon a representation of data which is then executable as programs" and as one of JSON's influences.
3 changes: 3 additions & 0 deletions rebol/files/hello-world.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
REBOL [Title: "Example"]
print "Hello World!"
quit
3 changes: 3 additions & 0 deletions rebol/files/hello-world.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env sh

rebol3 hello-world.r

0 comments on commit 80a72ea

Please sign in to comment.