multiline shell, yay!
This commit is contained in:
parent
5bdf409a1f
commit
67af8bbd47
8 changed files with 76 additions and 48 deletions
|
|
@ -24,7 +24,7 @@ use std::io;
|
|||
use std::rc::Rc;
|
||||
|
||||
fn prompt_default_callback(_: &Seg, _: &mut SymTable) -> Result<Ctr, String> {
|
||||
Ok(Ctr::Symbol("λ ".to_string()))
|
||||
Ok(Ctr::Symbol("λ".to_string()))
|
||||
}
|
||||
|
||||
/* loads defaults, evaluates config script */
|
||||
|
|
@ -80,8 +80,6 @@ default value (<lambda>)"
|
|||
config_document = "(".to_string() + &config_document;
|
||||
|
||||
let config_tree = lex(&config_document)?;
|
||||
let config_result = eval(&config_tree, syms)?;
|
||||
|
||||
println!("config result: {config_result}");
|
||||
eval(&config_tree, syms)?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue