Add vm and compile modules

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-05-16 12:56:52 -04:00
parent a60471f526
commit a15dde0fc2
13 changed files with 392 additions and 46 deletions

View File

@@ -2,7 +2,7 @@ pub mod attrs;
pub mod ctx;
pub mod dict;
pub mod error;
//pub mod native_fun;
pub mod fun;
//pub mod num;
pub mod str;
pub mod sym {
@@ -13,7 +13,7 @@ pub mod sym {
pub mod prelude {
pub use crate::{
obj::{
Attrs, Dict, DictRef, Str, StrRef, Sym, ObjCtx, Obj,
Attrs, Dict, DictRef, Fun, NativeFun, Str, StrRef, Sym, ObjCtx, Obj,
},
mem::{
ptr::{ObjRef, DynRef},
@@ -25,8 +25,9 @@ pub mod prelude {
pub use self::{
attrs::Attrs,
dict::{Dict, DictRef},
ctx::ObjCtx,
dict::{Dict, DictRef},
fun::{NativeFun, Fun},
str::{Str, StrRef},
sym::Sym,
};