use crate::common::diagnostics::DiagnosticBundle; use crate::ir; use std::path::Path; use crate::common::files::FileManager; pub trait Frontend { fn language(&self) -> &'static str; fn compile_to_ir( &self, entry: &Path, file_manager: &mut FileManager, ) -> Result; }