rail-lang 0.6.0

WIP concatenative language
Documentation

License Lines of code GitHub repo size

Rail

A very experimental concatenative programming language.

$ rail
rail 0.6.0
> 1 1 + .s
2
> [ 1 + ] "inc" def
> 1 .s [ inc .s ] 3 times
1
2
3
4
> drop [ [ 0 ] [ "goodbye" ] [ 1 ] [ "hello" ] ] opt .s
"hello"

Installation

$ cargo install rail-lang

Credits

Available under GPL v2.

A side quest of J.R. Hill | https://so.dang.cool | https://github.com/hiljusti