bytecode compiler impirsts and external functions call support, byyterun imports and external functions calls parsing, initial impl of module manager

This commit is contained in:
ProgramSnail 2024-11-29 13:45:03 +03:00
parent 2cd7afe0c5
commit 0a26953318
11 changed files with 409 additions and 205 deletions

View file

@ -19,8 +19,8 @@
DEF(CMD_BINOP_AND, &&) \
DEF(CMD_BINOP_OR, ||)
const char *read_cmd(char *ip);
const char *read_cmd(const char *ip);
bytefile *read_file(char *fname);
bytefile *read_file(const char *fname);
// void dump_file(FILE *f, bytefile *bf);
void dump_file(FILE *f, bytefile *bf);