primitive repl
This commit is contained in:
parent
2c30975571
commit
5ed8a054d3
4 changed files with 191 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ mod lex;
|
|||
mod func;
|
||||
mod eval;
|
||||
mod vars;
|
||||
mod stl;
|
||||
mod str;
|
||||
|
||||
pub mod ast {
|
||||
pub use crate::segment::{Seg, Ctr, ast_to_string, Type, Ast, new_ast};
|
||||
|
|
@ -30,3 +32,8 @@ pub mod ast {
|
|||
pub use crate::vars::{VTable, define};
|
||||
pub use crate::eval::eval;
|
||||
}
|
||||
|
||||
pub mod stdlib {
|
||||
pub use crate::stl::{get_stdlib};
|
||||
pub use crate::str::{get_echo};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue