Tidies the directory structure.

This commit is contained in:
falsycat 2021-01-03 00:00:00 +00:00
parent 7bb530cedf
commit fb43a77ec6
7 changed files with 11 additions and 5 deletions

View File

@ -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})

4
TODO.TXT Normal file
View File

@ -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

View File

@ -6,7 +6,7 @@
#include <inttypes.h>
#include "./tree.h"
#include "./c/zone.h"
#include "./zone.h"
#include "generated/biner.y.h"

View File

@ -8,7 +8,7 @@
#include <string.h>
#include "./tree.h"
#include "./c/zone.h"
#include "./zone.h"
#define ctx (biner_tree_parse_context_)

2
tree.c
View File

@ -8,7 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "./c/zone.h"
#include "./zone.h"
#include "generated/biner.y.h"

2
tree.h
View File

@ -8,7 +8,7 @@
#include <stdio.h>
#include <string.h>
#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;

View File