This project has been abandoned :(
RustXonsh
The goal of RustXonsh is to rewrite Xonsh in Rust, based on code from RustPython.
Features
- Support for Python 3.8 syntax (from RustPython)
- Path string literals (e.g.
p"/etc/passwd"
) - Executing subprocess commands using
$[]
- Capturing subprocess command output using
$()
- Executing subprocess commands using regular shell syntax (e.g.
echo hello
)
Usage
RustXonsh requires the latest stable version of Rust (since it uses RustPython).
To build RustXonsh and run the demo program:
git clone https://github.com/yaxollum/RustXonsh.git
cd RustXonsh
cargo run --release demo.xsh