primitive repl

This commit is contained in:
Aidan Hahn 2021-09-18 15:26:16 -07:00
parent 2c30975571
commit 5ed8a054d3
No known key found for this signature in database
GPG key ID: 327711E983899316
4 changed files with 191 additions and 0 deletions

View file

@ -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};
}