diff options
| author | 2023-02-09 16:16:41 +0000 | |
|---|---|---|
| committer | 2023-02-09 16:16:41 +0000 | |
| commit | c0770d8ece675f5e6f2249b331c7550933915829 (patch) | |
| tree | 49ed1779f0941a60ce2941c312d3f53f4ab81616 /creole.h | |
| parent | test refactoring (diff) | |
add compile t est
Diffstat (limited to '')
| -rw-r--r-- | creole.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,6 +42,8 @@ enum creole_compiler_ret { CREOLE_LAST_MALFORMED, CREOLE_LABEL_OVERFLOW, CREOLE_TYPE_ERROR, + CREOLE_COMPILE_CLEARED_INSTRUCTION, + CREOLE_PROGRAM_OVERFLOW, CREOLE_COMPILE_RET_LEN }; @@ -74,5 +76,7 @@ int creole_encode(creole_word i, unsigned encode_to, unsigned high_bits, unsigned char buf[7]); enum creole_compiler_ret creole_parse_line(struct creole_ins *ins, struct creole_reader *r); +enum creole_compiler_ret +creole_compile(struct creole_env *env, struct creole_reader *r); #endif /* CREOLE_H */ |
