ad_repl

Crates.ioad_repl
lib.rsad_repl
version0.1.0
sourcesrc
created_at2024-11-15 19:54:52.164633
updated_at2024-11-15 19:54:52.164633
descriptionA simple shell repl for the ad text editor
homepage
repositoryhttps://github.com/sminez/ad
max_upload_size
id1449552
size11,519
Innes Anderson-Morrison (sminez)

documentation

https://docs.rs/ad_repl

README

ad_repl

A simple REPL that syncs an rc shell session with an ad buffer.

  • "Execute" is defined to be "send as input to the shell".
  • Hitting return at the end of the buffer will send that line to the shell.
  • Running "clear" will clear the ad buffer
  • Running "exit" will close the shell subprocess as well as the ad buffer

The rc shell

This program relies on the rc shell being present on your system. On Ubuntu / Debian based systems you can install this using sudo apt-get install rc, or alternatively you can compile it from source via plan9port.

Commit count: 576

cargo fmt