Nilton Constantino d62503eb5a
removed ts and lua
2026-01-27 10:44:16 +00:00

16 lines
337 B
Rust

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<ir::Module, DiagnosticBundle>;
}