fix the many-body-script and lex-singlet problems
Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
parent
bc09cb07b1
commit
914bf1303f
3 changed files with 20 additions and 27 deletions
|
|
@ -62,7 +62,8 @@ fn main() {
|
|||
match user_doc {
|
||||
Ok(line) => {
|
||||
rl.add_history_entry(line.as_str());
|
||||
let l = line.as_str().to_owned();
|
||||
let l = line.as_str().to_owned();
|
||||
|
||||
match lex(&l) {
|
||||
Ok(a) => match eval(&a, &mut syms) {
|
||||
Ok(a) => println!("{}", a),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue