mysz-core 0.2.0

The main compiler for the Mysz language project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod backend;
pub mod compiler;
pub mod ir;
pub mod lex;
pub mod parse;
pub mod semantics;
pub mod utils;

fn main() {
    let res =
        compiler::compile_root_file("./interntest/main.mysz", "./interntest/main.o", &[], false);

    // let res = compiler::check_root_file("./interntest/main.mysz", &[], true);

    if res.is_err() {
        println!("{:#}", res.err().unwrap());
    }
}