multiline shell, yay!

This commit is contained in:
Ava Apples Affine 2023-03-15 21:55:10 -07:00
parent 5bdf409a1f
commit 67af8bbd47
Signed by: affine
GPG key ID: 3A4645B8CF806069
8 changed files with 76 additions and 48 deletions

View file

@ -101,7 +101,6 @@ pub const STORE_DOCSTRING: &str = "allows user to define functions and variables
(def useless-var)";
pub fn store_callback(ast: &Seg, syms: &mut SymTable, env_cfg: bool) -> Result<Ctr, String> {
println!("def: {}", ast);
let is_var = ast.len() == 3;
if let Ctr::Symbol(ref identifier) = *ast.car {
match &*ast.cdr {