significant refactor and simplification
This commit is contained in:
parent
ca4c557d95
commit
7555a90328
8 changed files with 501 additions and 422 deletions
13
src/lib.rs
13
src/lib.rs
|
|
@ -19,24 +19,23 @@
|
|||
mod config;
|
||||
*/
|
||||
mod eval;
|
||||
mod func;
|
||||
mod lex;
|
||||
mod segment;
|
||||
mod vars;
|
||||
mod sym;
|
||||
mod stl;
|
||||
/*mod stl;
|
||||
mod str;*/
|
||||
|
||||
extern crate lazy_static;
|
||||
|
||||
pub mod ast {
|
||||
pub use crate::eval::eval;
|
||||
// pub use crate::eval::eval;
|
||||
pub use crate::lex::lex;
|
||||
pub use crate::segment::{Ctr, Seg, Type};
|
||||
pub use crate::sym::{
|
||||
/* pub use crate::sym::{
|
||||
SYM_TABLE, SymTable, Symbol,
|
||||
UserFn, ValueType, Args,
|
||||
LIB_EXPORT_ENV, LIB_EXPORT_NO_ENV
|
||||
};
|
||||
UserFn, ValueType, Args
|
||||
};*/
|
||||
}
|
||||
|
||||
/*pub mod stdlib {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue