magc 0.8.0

The Mag Language Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::types::*;

use std::collections::BTreeMap;

#[derive(Debug, Clone, Eq, PartialEq, Hash)]
/// A first-class chunk of code that can be passed around as a value.
pub struct Block {
    pub environment: BTreeMap<String, Expression>,
    pub children: Vec<Expression>,
}