parser now bubbles errors instead of unit type
llvm added to dependencies
This commit is contained in:
11
src/codegen/llvm_ir.rs
Normal file
11
src/codegen/llvm_ir.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use crate::ast::Literal;
|
||||
|
||||
pub trait LLVMIRTranslation {
|
||||
fn llvm_translate(&self) -> Result<String, ()>;
|
||||
}
|
||||
|
||||
impl LLVMIRTranslation for crate::ast::Literal {
|
||||
fn llvm_translate(&self) -> Result<String, ()> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user