From fe3d9c7dfbe4190ecf0919abe474e4da4c019566 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 24 Jun 2024 20:33:56 +0300 Subject: add initial compiler framework --- src/compile/compile.c | 8 ++++++++ src/compile/nocompile.c | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 src/compile/compile.c create mode 100644 src/compile/nocompile.c (limited to 'src/compile') diff --git a/src/compile/compile.c b/src/compile/compile.c new file mode 100644 index 0000000..513e0e1 --- /dev/null +++ b/src/compile/compile.c @@ -0,0 +1,8 @@ +#include +#include "../../deps/lightening/lightening/lightening.c" +#include "../common.h" + +bool ejit_compile(struct ejit_func *f) +{ + return false; +} diff --git a/src/compile/nocompile.c b/src/compile/nocompile.c new file mode 100644 index 0000000..065d466 --- /dev/null +++ b/src/compile/nocompile.c @@ -0,0 +1,7 @@ +#include + +bool ejit_compile(struct ejit_func *f) +{ + (void)(f); + return false; +} -- cgit v1.2.3