1 2 3 4 5 6 7 8 9 10
use crate::{bytecode::chunk::Chunk, parser::ast::Expression}; pub fn compile<'a>(expression: Expression) -> Result<Chunk, CompilerError> { match expression { _ => todo!(), } } #[derive(Debug, Clone)] pub enum CompilerError {}