Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tatsuya6502/docker-rusti
A Docker image contains rusti, an experimental REPL for the Rust programming language
https://github.com/tatsuya6502/docker-rusti
docker repl rust
Last synced: 23 days ago
JSON representation
A Docker image contains rusti, an experimental REPL for the Rust programming language
- Host: GitHub
- URL: https://github.com/tatsuya6502/docker-rusti
- Owner: tatsuya6502
- License: mit
- Created: 2016-02-10T10:40:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-10T10:45:57.000Z (over 8 years ago)
- Last Synced: 2023-03-11T06:18:42.046Z (over 1 year ago)
- Topics: docker, repl, rust
- Language: Shell
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-rusti
A Docker image contains rusti, an experimental REPL for the Rust programming language
[![Docker Repository on Quay](https://quay.io/repository/tatsuya6502/rusti/status "Docker Repository on Quay")](https://quay.io/repository/tatsuya6502/rusti)
### Try It!
On a Linux machine with Docker installed, run the following commands:
```
$ docker run -it quay.io/tatsuya6502/rusti
# cd ~/rusti
# rustc --version
rustc 1.8.0-nightly (2016-MM-DD)
# cargo run
rusti=> (1..100).filter(|x| x % 19 == 3).fold(0, |acc, x| acc + x)
303
rusti=> .type Some("Hello world!".to_owned())
Some("Hello world!".to_owned()) = core::option::Option
```### More Info about `rusti`
- [rusti on GitHub](https://github.com/murarth/rusti)
- [24 days of Rust -- Day 19 rusti](http://zsiciarz.github.io/24daysofrust/book/day19.html)