xrcf 0.1.0

A compiler framework to enable the rapid development of programming language compilers
Documentation
/// Generate LLVM IR.
use crate::op::Op;
use crate::attribute::IntegerAttr;
use crate::attribute::Attributes;
use crate::Dialect;

struct LLVM {}

struct Addi {
    typ: IntegerType,
    lhs: IntegerAttr,
    rhs: IntegerAttr,
}

impl Op for Addi {
    fn name(&self) -> &'static str {
        "add"
    }
}

impl Dialect for LLVM {
    fn name(&self) -> &'static str {
        "llvm"
    }

    fn description(&self) -> &'static str {
        "LLVM dialect."
    }
}