diff options
Diffstat (limited to 'src/lib/environment.rs')
-rw-r--r-- | src/lib/environment.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/environment.rs b/src/lib/environment.rs new file mode 100644 index 0000000..ef00e13 --- /dev/null +++ b/src/lib/environment.rs @@ -0,0 +1,15 @@ +use std::collections::HashMap; + +use super::sexpr::SExpr; + +pub struct Environment { + env: HashMap<String, SExpr> +} + +impl Environment { + pub fn new() -> Environment { + Environment { + env: HashMap::new() + } + } +} |