crulz 0.0.3

a rust implementation of the 'crulz' macro language interpreter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::env;
use std::path::Path;

fn main() {
    // ignore changes to other files except build.rs
    println!("cargo:rerun-if-changed=build.rs");

    string_cache_codegen::AtomType::new("crulst::CrulzAtom", "crulst_atom!")
        .atoms(&[" ", "$"])
        .write_to_file(&Path::new(&env::var("OUT_DIR").unwrap()).join("crulst_atom.rs"))
        .unwrap()
}