min_infmachine_lltk 0.1.0

The MinInfMachine Low Level Toolkit.
Documentation

MinInfMachine LLTK - low level toolkit.

Low level toolkit to generate MinInfMachines. It provides builders with label handling, helpers that simplify writing strucutal code (for example routine calling, big data writing) and integrated builder that simplify usage of noticed helpers.

Path to generate MinInfMachine is using some builder, put all code and generate code using to_code method. Further optional steps are optimization that provided by table_opt module. Simple example:

use min_infmachine::*;
use min_infmachine_lltk::builder::*;
use min_infmachine_lltk::handler_builder::*;
use min_infmachine_lltk::table_opt::*;
use min_infmachine_lltk::*;

fn main() {
    let mut builder = mi_std_sv_hbuilder_new(None, None, 1);
    builder.i(MINF_TBRF);
    builder.i(MINF_STOP);
    let (code, labels) = builder.to_code();
    let table = to_table(code);
    let mut machine = MinInfMachine::<usize>::new_with_table(table).unwrap();
    let machine = machine.to_toml().unwrap();
    println!("{}", machine);
}

Package min_infmachine_blabla_cpu is simple any bit CPU written by using this toolkit. It is good example to learn that toolkit.