aboutsummaryrefslogtreecommitdiffstats
path: root/creole.h
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2023-02-09 16:16:41 +0000
committerGravatar Peter McGoron 2023-02-09 16:16:41 +0000
commitc0770d8ece675f5e6f2249b331c7550933915829 (patch)
tree49ed1779f0941a60ce2941c312d3f53f4ab81616 /creole.h
parenttest refactoring (diff)
add compile t est
Diffstat (limited to '')
-rw-r--r--creole.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/creole.h b/creole.h
index da6b662..827fe82 100644
--- a/creole.h
+++ b/creole.h
@@ -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 */