pub trait Writer: Send + Sync {
// Required methods
fn language(&self) -> &'static str;
fn extension(&self) -> &'static str;
fn write(&self, program: &Program) -> String;
}Expand description
A writer emits the IR as source code in a target language.