]> git.lizzy.rs Git - nothing.git/blobdiff - src/ebisp/interpreter.h
ebisp/std: Validate arglist to defun in the same way as for lambda
[nothing.git] / src / ebisp / interpreter.h
index fb3153eca758adc2f264443f0b4d79ec9b725970..cbc1f09ea6c824aea2ea4f89a7c19d783aba9710 100644 (file)
@@ -18,13 +18,14 @@ 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);
-
-void load_std_library(Gc *gc, struct Scope *scope);
+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, ...);