clutils 0.0.11

A common library for building interpreter and compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![allow(unused_mut)]

#[macro_export]
macro_rules! map {
    ($($key:expr => $val:expr),*) => {
        {
            let mut map = ::std::collections::HashMap::new();
            $(map.insert($key, $val);)*
            map
        }
    };
}