Crates.io | rmosh |
lib.rs | rmosh |
version | 0.0.13 |
source | src |
created_at | 2023-04-01 09:18:02.120977 |
updated_at | 2023-04-20 00:32:00.474338 |
description | R6RS & R7RS Scheme Interpreter |
homepage | |
repository | https://github.com/higepon/mosh/tree/master/rmosh |
max_upload_size | |
id | 827180 |
size | 14,288,150 |
rmosh is a Rust implementation of the Mosh Scheme interpreter, which was originally written in C++. It supports all of the features in R7RS small and R6RS standards. Please note that rmosh is currently in its alpha stage.
Feature | Supported |
---|---|
R6RS | Yes |
R7RS small | Yes |
R7RS vectors | Yes |
Regexp | Yes |
Client socket | Yes |
Server socket | No |
Multiprocess | No |
FFI | No |
The project is hosted at https://github.com/higepon/mosh/tree/master/rmosh.
The rmosh crate is available at https://crates.io/crates/rmosh/.
For most Rust users, the easiest way to try rmosh is by running the following command:
cargo install rmosh
To build rmosh from source, follow these steps:
Clone the repository:
git clone https://github.com/higepon/mosh.git
cd mosh/rmosh
Build the project using Cargo:
cargo build --release
To install rmosh after building from source, follow these steps:
Install the binary with the following command:
cargo install --path .
Make sure the installation directory is in your PATH.
To run all the tests, simply execute the following command in the project directory:
make test
Although rmosh passes the R6RS and R7RS tests, there are still some features to be implemented. You may find todo!()
or panic!()
macros throughout the codebase, indicating areas where your help would be appreciated. Please feel free to submit pull requests to improve the project.