lang: start implementing code generation (ast to ir) facility

This commit is contained in:
2025-04-14 09:48:16 +01:00
parent c682cbb15a
commit 2cd78a64b0
4 changed files with 111 additions and 2 deletions

18
lang/codegen/codegen.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _LANG_CODEGEN_H_
#define _LANG_CODEGEN_H_
#include <blue/core/queue.h>
struct mie_builder;
struct mie_ctx;
struct mie_func;
struct ivy_codegen {
b_queue c_ir_values;
struct mie_builder *c_builder;
struct mie_ctx *c_ctx;
struct mie_module *c_module;
struct mie_func *c_immediate;
};
#endif