diff --git a/CMakeLists.txt b/CMakeLists.txt index e7a45cb..5300119 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,14 +24,16 @@ add_executable(biner) target_sources(biner PRIVATE main.c + transpile.h transpile_c.c + tree.h tree.c + zone.h ${BISON_biner-parser_OUTPUTS} ${FLEX_biner-scanner_OUTPUTS} PUBLIC c/pack.h c/unpack.h - c/zone.h ) target_include_directories(biner PRIVATE . ${CMAKE_CURRENT_BINARY_DIR}) diff --git a/TODO.TXT b/TODO.TXT new file mode 100644 index 0000000..ed861b3 --- /dev/null +++ b/TODO.TXT @@ -0,0 +1,4 @@ + resolve all TODO in source codes + remove f16/f32/f64 types + partial code generation for C (divide decls and functions) + release v1.0.1 diff --git a/biner.l b/biner.l index 90b5d45..bd7cea9 100644 --- a/biner.l +++ b/biner.l @@ -6,7 +6,7 @@ #include #include "./tree.h" -#include "./c/zone.h" +#include "./zone.h" #include "generated/biner.y.h" diff --git a/biner.y b/biner.y index f91e12d..4be1f55 100644 --- a/biner.y +++ b/biner.y @@ -8,7 +8,7 @@ #include #include "./tree.h" -#include "./c/zone.h" +#include "./zone.h" #define ctx (biner_tree_parse_context_) diff --git a/tree.c b/tree.c index 5a6e8b6..67ebc57 100644 --- a/tree.c +++ b/tree.c @@ -8,7 +8,7 @@ #include #include -#include "./c/zone.h" +#include "./zone.h" #include "generated/biner.y.h" diff --git a/tree.h b/tree.h index fef0c6a..3714cc0 100644 --- a/tree.h +++ b/tree.h @@ -8,7 +8,7 @@ #include #include -#include "./c/zone.h" +#include "./zone.h" typedef struct biner_tree_expr_t biner_tree_expr_t; typedef struct biner_tree_struct_member_t biner_tree_struct_member_t; diff --git a/c/zone.h b/zone.h similarity index 100% rename from c/zone.h rename to zone.h