magc 0.8.0

The Mag Language Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Data structures common to the entire crate, such as [`Token`], [`Expression`] or [`Pattern`].

pub mod expression;
pub mod pattern;
pub mod result;
pub mod token;

use std::collections::HashMap;

pub type Environment = HashMap<String, Box<Expression>>;

pub use self::expression::*;
pub use self::pattern::*;
pub use self::result::*;
pub use self::token::*;