aboutsummaryrefslogtreecommitdiff
path: root/eval.h
diff options
context:
space:
mode:
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/eval.h b/eval.h
index d22355b..eab225d 100644
--- a/eval.h
+++ b/eval.h
@@ -1,7 +1,12 @@
#ifndef EVAL_H
#define EVAL_H
-struct list *eval(struct list *list);
-struct list *eval_str(const char *str);
+struct list;
+
+struct list *eval(struct list *expr);
+struct list *eval_str(const char *expr);
+
+struct list *eval_env(struct list *expr, struct list *env);
+struct list *eval_str_env(const char *expr, struct list *env);
#endif