yair 0.1.0

A compiler framework written entirely in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::*;
use std::io::{Seek, Write};

#[allow(clippy::upper_case_acronyms)]
pub struct LLVM {}

pub enum Error {}

impl CodeGen for LLVM {
    type Error = Error;

    fn generate<W: Seek + Write>(_library: &Library, _writer: &mut W) -> Result<(), Self::Error> {
        todo!();
    }
}