rascal_compiler/
compiler.rs

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