summaryrefslogtreecommitdiff
path: root/src/compile.h
blob: f4764c9ea55414a25f236689cfc86b4ffc82663f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "hashtable.h"
#include "parse.h"
#ifndef COMPILE
#define COMPILE
typedef struct LiteralData {
	litType_t litType;
	void* data;
	int id;
} litData_t;
litData_t* init_str_data(char* value);
char* compile_to_asm(sym_t* symbol);
char* lib_funcs();
char* compile_to_asm_internal(sym_t* symbol, int mangleId);
char* build_data();
char* comp_all(sym_t** symbols, int count, int mangleId);
char* try_comp_internal(sym_t* symbol, int mangleId);
#endif