significant refactor and simplification

This commit is contained in:
Ava Hahn 2023-02-17 21:00:07 -08:00
parent ca4c557d95
commit 7555a90328
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069
8 changed files with 501 additions and 422 deletions

View file

@ -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 {