Rail
A straightforward programming language.
Rail is an experimental concatenative programming language. It is under wild development and zero stability between versions is guaranteed.
$ rail i
rail 0.12.0
> 1 1 + .s
2
> [ 1 + ] "inc" def
> 1 .s [ inc .s ] 3 times drop
1
2
3
4
> [ [ false ] [ "goodbye" ] [ true ] [ "hello" ] ] opt .s
"hello"
Installation
$ cargo install rail-lang
Currently you'll need to check out at least the rail-src
directory of this
repository, and execute rail
in the same directory. (Or run with
rail --no-stdlib ETC
)
Credits
Available under GPL v2.
A side quest of J.R. Hill | https://so.dang.cool | https://github.com/hiljusti