Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/codegen/backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "clib/hashtable.h"
#include "codegen/fun_info.h"
#include "codegen/codegen.h"
#include "codegen/mlir/cg_mlir.h"

#ifdef __cplusplus
extern "C" {
Expand All @@ -28,6 +29,8 @@ struct backend{
struct backend *backend_init(struct sema_context *sema_context, cg_alloc_fun cg_alloc, cg_free_fun cg_free);
void backend_deinit(struct backend *be);

struct engine *engine_mlir_new(const char *sys_path, bool is_repl);

#ifdef __cplusplus
}
#endif
Expand Down
2 changes: 2 additions & 0 deletions include/compiler/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ enum object_file_type {
int compile(const char *sys_path, const char *fn, enum object_file_type file_type, const char *output_filepath);
void free_ir_string(char *ir_string);

struct engine *engine_mlir_new(const char *sys_path, bool is_repl);

#ifdef __cplusplus
}
#endif
Expand Down
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"codejar": "^3.6.0",
"css-loader": "^6.7.3",
"firebase": "^10.12.2",
"firebaseui": "^6.0.2",
"firebaseui": "^6.1.0",
"gl-matrix": "^3.4.3",
"interpolate-arrays": "^1.0.4",
"style-loader": "^3.3.1",
Expand Down
Loading