hrtor
hrtor("h@rt@r", "haruta-", "ha-ta-", "heruta-", "herutoru") is HaRuki's scalable line ediTOR.
Usage
- with Nix package manager
nix run github:haruki7049/hrtor#hrtor
# OR
nix run github:haruki7049/hrtor#hrtor -- your_file.txt
# OR
nix run github:haruki7049/hrtor#hrtor -- your_file.txt
- with Rust-lang's Cargo
# Install hrtor with:
cargo install --git https://github.com/haruki7049/hrtor
cargo install --git https://github.com/haruki7049/hrtor
How to add Actions
- Write down a function by Rust, on any file in
src/processor/actions/directory, Such assrc/processor/actions/foobar.rs. - For Hrtor internal communications, Add a element to
crate::processor::parser::Actioninsrc/processor/parser.rsfile. - Edit eval method for HrtorProcessor, written on
src/processor.rs - Then, you can run Hrtor with your action!!