]> git.lizzy.rs Git - nothing.git/blobdiff - src/ebisp/interpreter.h
(#893) Remove source_code from Script
[nothing.git] / src / ebisp / interpreter.h
index cf4d3f92bb0be45921fd9e5fe319017bc1173462..cbc1f09ea6c824aea2ea4f89a7c19d783aba9710 100644 (file)
@@ -14,8 +14,20 @@ struct EvalResult eval_success(struct Expr expr);
 struct EvalResult eval_failure(struct Expr expr);
 struct EvalResult
 wrong_argument_type(Gc *gc, const char *type, struct Expr obj);
+struct EvalResult
+wrong_number_of_arguments(Gc *gc, long int count);
+struct EvalResult
+not_implemented(Gc *gc);
+struct EvalResult
+read_error(Gc *gc, const char *error_message, long int character);
 
+struct EvalResult
+car(void *param, Gc *gc, struct Scope *scope, struct Expr args);
 
 struct EvalResult eval(Gc *gc, struct Scope *scope, struct Expr expr);
+struct EvalResult eval_block(Gc *gc, struct Scope *scope, struct Expr block);
+
+struct EvalResult
+match_list(struct Gc *gc, const char *format, struct Expr args, ...);
 
 #endif  // INTERPRETER_H_