An experimental programming language, looking into some new and many borrowed language ideas with interpreter in Go. โ
hello: fn { a } { "Hello" +_ a + "!" }
print hello "world"
// outputs: Hello world!
data: { name "Jim" age 33 }
code: { hello data/name }
if true code
// outputs: Hello Jim!
A blog following development.
The language introduction documents are work in progress.
There is also a simple website being made.
There is also a very small FB group you can join.
Currently, tested on Linux, Mac and Docker.
go get -v github.com/pkg/profile \
github.com/yhirose/go-peg \
github.com/mattn/go-sqlite3
go build
# Executable
./rye
You can leave just the tags and install just the bindings you want.
go get -v github.com/pkg/profile \
github.com/yhirose/go-peg \
github.com/labstack/echo/middleware \
github.com/labstack/echo-contrib/session \
github.com/gotk3/gotk3/gtk \
github.com/lib/pq \
github.com/mattn/go-sqlite3 \
github.com/nats-io/nats.go \
github.com/shirou/gopsutil/mem \
github.com/tobgu/qframe
go build -tags "b_echo b_gtk b_psql b_nats b_psutil b_qframe" -o ryefull
# Executable
./ryefull
The repository comes with Docker image that is capable of building rye in its full, the final step however then just wraps executable so that the image remains small and nimble.
docker build -t refaktor/rye -f .docker/Dockerfile .
Run ๐โโ๏ธ the rye REPL with:
docker run -ti refaktor/rye
Ryefull relies on GTK3. So make sure your machine has it.
brew install pkg-config gtk+3 adwaita-icon-theme
More instructions here.