1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

use shm_rs::static_scheme::init;



fn main()
{
    let curdir = std::env::current_dir().unwrap();

    println!("{}", curdir.display());

    let schm = init::SchemeInit::new_with_path(curdir).unwrap();

    let res = 
        schm.run_from_file("examples/analyzer_error/schm_init.shm", None).unwrap();

    let scheme = res.get("test_auto").unwrap();

    let anres = scheme.analyze().unwrap();

    println!("{}", anres);

}