Tidies the directory structure.
This commit is contained in:
parent
7bb530cedf
commit
fb43a77ec6
@ -24,14 +24,16 @@ add_executable(biner)
|
|||||||
target_sources(biner
|
target_sources(biner
|
||||||
PRIVATE
|
PRIVATE
|
||||||
main.c
|
main.c
|
||||||
|
transpile.h
|
||||||
transpile_c.c
|
transpile_c.c
|
||||||
|
tree.h
|
||||||
tree.c
|
tree.c
|
||||||
|
zone.h
|
||||||
${BISON_biner-parser_OUTPUTS}
|
${BISON_biner-parser_OUTPUTS}
|
||||||
${FLEX_biner-scanner_OUTPUTS}
|
${FLEX_biner-scanner_OUTPUTS}
|
||||||
PUBLIC
|
PUBLIC
|
||||||
c/pack.h
|
c/pack.h
|
||||||
c/unpack.h
|
c/unpack.h
|
||||||
c/zone.h
|
|
||||||
)
|
)
|
||||||
target_include_directories(biner PRIVATE . ${CMAKE_CURRENT_BINARY_DIR})
|
target_include_directories(biner PRIVATE . ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
4
TODO.TXT
Normal file
4
TODO.TXT
Normal 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
|
2
biner.l
2
biner.l
@ -6,7 +6,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include "./tree.h"
|
#include "./tree.h"
|
||||||
#include "./c/zone.h"
|
#include "./zone.h"
|
||||||
|
|
||||||
#include "generated/biner.y.h"
|
#include "generated/biner.y.h"
|
||||||
|
|
||||||
|
2
biner.y
2
biner.y
@ -8,7 +8,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "./tree.h"
|
#include "./tree.h"
|
||||||
#include "./c/zone.h"
|
#include "./zone.h"
|
||||||
|
|
||||||
#define ctx (biner_tree_parse_context_)
|
#define ctx (biner_tree_parse_context_)
|
||||||
|
|
||||||
|
2
tree.c
2
tree.c
@ -8,7 +8,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "./c/zone.h"
|
#include "./zone.h"
|
||||||
|
|
||||||
#include "generated/biner.y.h"
|
#include "generated/biner.y.h"
|
||||||
|
|
||||||
|
2
tree.h
2
tree.h
@ -8,7 +8,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.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_expr_t biner_tree_expr_t;
|
||||||
typedef struct biner_tree_struct_member_t biner_tree_struct_member_t;
|
typedef struct biner_tree_struct_member_t biner_tree_struct_member_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user