diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2014-05-15 22:52:43 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2014-05-15 22:52:43 +0300 |
| commit | 06b32874034251d808394b66bcbdf12afe0f41b4 (patch) | |
| tree | 62711f5e76bbe4d0c311f3c329ca755bc3ed67fd /eval.h | |
| parent | 043cddd93a65930c534f4170ed517bb1f76fd3ae (diff) | |
| download | lispish-06b32874034251d808394b66bcbdf12afe0f41b4.tar.gz lispish-06b32874034251d808394b66bcbdf12afe0f41b4.zip | |
add eval functions that take env as argument (no env support yet)
Diffstat (limited to 'eval.h')
| -rw-r--r-- | eval.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |
