mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-17 12:18:46 +00:00
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:
parent
2cd7afe0c5
commit
0a26953318
11 changed files with 409 additions and 205 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue