implement basic control flow, error handling from functions, many tests
Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
parent
ae365ad63c
commit
09e3546ba6
14 changed files with 315 additions and 488 deletions
16
src/lib.rs
16
src/lib.rs
|
|
@ -15,16 +15,13 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*mod append;
|
||||
mod config;
|
||||
*/
|
||||
|
||||
//mod config;
|
||||
mod eval;
|
||||
mod lex;
|
||||
mod segment;
|
||||
mod sym;
|
||||
mod stl;
|
||||
/*mod stl;
|
||||
mod str;*/
|
||||
|
||||
pub mod ast {
|
||||
pub use crate::eval::eval;
|
||||
|
|
@ -36,12 +33,9 @@ pub mod ast {
|
|||
};
|
||||
}
|
||||
|
||||
/*pub mod stdlib {
|
||||
pub use crate::append::get_append;
|
||||
pub use crate::stl::get_stdlib;
|
||||
pub use crate::str::{get_concat, get_echo};
|
||||
pub use crate::vars::get_export;
|
||||
}*/
|
||||
pub mod stdlib {
|
||||
pub use crate::stl::{static_stdlib, dynamic_stdlib};
|
||||
}
|
||||
|
||||
/*pub mod aux {
|
||||
pub use crate::config::configure;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue