lang: start implementing code generation (ast to ir) facility
This commit is contained in:
18
lang/codegen/codegen.h
Normal file
18
lang/codegen/codegen.h
Normal 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
|
||||
Reference in New Issue
Block a user