simplify eval, add member function to symtable to call a symbol

This commit is contained in:
Ava Hahn 2023-02-23 23:01:47 -08:00
parent e055f26e90
commit a1e19a19d9
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069
5 changed files with 104 additions and 107 deletions

View file

@ -26,14 +26,12 @@ mod stl;
/*mod stl;
mod str;*/
extern crate lazy_static;
pub mod ast {
pub use crate::eval::eval;
pub use crate::lex::lex;
pub use crate::segment::{Ctr, Seg, Type};
pub use crate::sym::{
SYM_TABLE, SymTable, Symbol,
SymTable, Symbol,
UserFn, ValueType, Args
};
}