simplify eval, add member function to symtable to call a symbol
This commit is contained in:
parent
e055f26e90
commit
a1e19a19d9
5 changed files with 104 additions and 107 deletions
|
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue