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.17.0
> 1 1 + print
2
> [ 1 + ] "inc" def
> [ dup print ] "p" def
> 1 [ p inc ] 2 times print
1
2
3
> [ [ false ] [ "bye" ] [ true ] [ "hi" ] ] opt print
"hi"
Installation
For now...
$ cargo install rail-lang
Usage
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