Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/booniepepper/rail
Rail programming language
https://github.com/booniepepper/rail
concatenative concatenative-programming-language programming-language
Last synced: 2 months ago
JSON representation
Rail programming language
- Host: GitHub
- URL: https://github.com/booniepepper/rail
- Owner: booniepepper
- License: gpl-2.0
- Created: 2021-11-01T07:22:22.000Z (about 3 years ago)
- Default Branch: core
- Last Pushed: 2023-08-03T20:40:44.000Z (over 1 year ago)
- Last Synced: 2024-10-13T19:37:02.981Z (3 months ago)
- Topics: concatenative, concatenative-programming-language, programming-language
- Language: Rust
- Homepage:
- Size: 469 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![License](https://img.shields.io/github/license/booniepepper/rail)
![Lines of code](https://img.shields.io/tokei/lines/github/booniepepper/rail)
![GitHub repo size](https://img.shields.io/github/repo-size/booniepepper/rail)# Rail
A straightforward programming language.
Rail is an experimental [concatenative](https://concatenative.org/wiki/view/Concatenative%20language)
virtual machine and minimal programming language. It is under wild development,
and currently zero stability between versions is guaranteed.See also: [`dt`](https://github.com/booniepepper/dt) which is a looser language
with a similar syntax.```
$ railsh
rail 0.30.2> 1 1 + print
2> [[n] -> n print " " print n 2 *] "print-and-double" def
> 1 [print-and-double] 7 times
1 2 4 8 16 32 64> [[false] ["bye"] [true] ["hi"]] ? println
hi
```## Installation
```shell
$ cargo install rail-lang
$ railup bootstrap
```## Credits
Available under GPL v2.
A side quest of J.R. Hill | https://so.dang.cool | https://github.com/booniepepper