#ifndef CODEGENERATOR_H
#define CODEGENERATOR_H
static char * code_op [] = { "LDC", "LDV", "STORE", "APPEL", "ENTREE", "SORTIE", "RETOUR", "ADD", "MUL", "DIV",
"SUB", "INF", "INFE", "SUP", "SUPE", "DIF", "EGAL"};
typedef struct entree_code {
char* code_op;
int operande;
char* function_name;
char* designation;
} ENTREE_CODE;
int insert_code (char *code_op, int operande, char *function_name, char* designation);
int insert_code_variable (char *code_op, char* name);
int insert_code_ldv (char *code_op, char* name);
int get_next_empty_code(void);
int get_last_code_index(void);
void check_code_int(void);
void change_signature(void);
void print_codetab(void);
#endif