Build Module type plus engine hooks.

This commit is contained in:
Stephen Chung
2020-05-05 15:00:10 +08:00
parent c03b162b7e
commit 38e717a838
14 changed files with 249 additions and 134 deletions

View File

@@ -68,9 +68,9 @@ fn main() {
let mut scope = Scope::new();
let mut input = String::new();
let mut main_ast = AST::new();
let mut ast_u = AST::new();
let mut ast = AST::new();
let mut main_ast: AST = Default::default();
let mut ast_u: AST = Default::default();
let mut ast: AST = Default::default();
println!("Rhai REPL tool");
println!("==============");