big progress on rewrite

Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
Ava Hahn 2023-01-30 23:37:28 -08:00
parent 5261efbc65
commit c7b30d027d
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069
8 changed files with 1190 additions and 54 deletions

View file

@ -20,26 +20,21 @@
/*mod append;
mod config;
*/
mod eval;
mod func;*/
mod func;
mod lex;
mod segment;
mod vars;
/*mod stl;
mod str;
mod vars;*/
mod str;*/
pub mod ast {
// pub use crate::eval::eval;
// pub use crate::func::{
// func_call, func_declare, Args, ExternalOperation, FTable, Function, Operation,
// };
pub use crate::eval::eval;
pub use crate::func::{Args, ExternalOperation, FTable, Function, Operation};
pub use crate::lex::lex;
pub use crate::segment::{Ctr, Seg, Type};
// pub use crate::vars::{define, VTable};
}
mod test {
pub use crate::vars::VTable;
}
/*pub mod stdlib {