Function chalk::read_program

source ยท
pub(crate) fn read_program(
    rl: &mut DefaultEditor,
) -> Result<String, Box<dyn Error>>
Expand description

Read a program from the command-line. Stop reading when EOF is read. If an error occurs while reading, a Err is returned.