yair 0.1.0

A compiler framework written entirely in Rust
1
2
3
4
5
6
7
8
use crate::Library;
use std::io::{Seek, Write};

pub trait CodeGen {
    type Error;

    fn generate<W: Seek + Write>(library: &Library, writer: &mut W) -> Result<(), Self::Error>;
}