sicompiler 1.0.1

A basic compiler for SiCoMe programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::Parser;

#[derive(Parser)]
#[command(name = "Sicompiler", author, version, about, long_about = None)]
pub struct Cli {
    /// The input path to compile
    pub input_path: String,

    #[arg(short = 'o', long = "out", default_value = "out.txt")]
    /// The output path to write to
    pub output_path: String,

    /// The repertoire of instructions
    #[arg(short = 'r', long = "rep")]
    pub repertoire_path: String,
}