mod error;
mod config;
mod result;
pub use config::{CompilerConfig, OptimizationLevel};
pub use error::LingError;
pub use result::LingResult;
pub struct LingCompiler {
#[allow(dead_code)]
config: CompilerConfig,
}
impl LingCompiler {
pub fn new(config: CompilerConfig) -> Self {
Self { config }
}
pub fn compile<P: AsRef<std::path::Path>>(&self, input: P, output: P) -> LingResult<()> {
Ok(())
}
}