axl is a small experimental shell being rebuilt in Rust. This is an early first iteration focused on creating a simple base for command parsing, execution, and automated tests rather than matching every feature of the previous C++ version.
- Interactive prompt showing the current directory
- External command execution with arguments
- Built-in
cdcommand - Single- and double-quoted arguments
- Clean exit when stdin reaches EOF
- Lexer, parser, and
cdtest coverage
- A recent stable Rust toolchain
- Cargo
Install Rust through rustup if it is not already available.
cargo buildThe debug binary is created at target/debug/axl.
cargo runPress Ctrl-D on an empty prompt to exit.
cargo test --all-targetsOptional formatting and lint checks:
cargo fmt --all -- --check
cargo clippy --all-targets -- -D warningscargo install --path .This installs the axl binary into Cargo's binary directory, normally ~/.cargo/bin.
The Rust version does not yet implement pipeline execution, redirection, command history, startup configuration, environment expansion, job control, or the full set of built-ins. Pipe tokens are recognised by the lexer, but are not executed yet.
Development of the first usable Rust version is tracked in milestone 1.