summaryrefslogtreecommitdiffstats
path: root/eval.h
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2023-03-05 23:10:15 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2023-03-05 23:10:15 +0100
commit49aa5542a8e13d2d808f7dee6bd7418add6d74ea (patch)
treed182dbf69f5f7b421283bf2a504ed3b40811a668 /eval.h
parentf44f1f8c7ef7b6266667dce76db686af3258adfc (diff)
downloadjadl-49aa5542a8e13d2d808f7dee6bd7418add6d74ea.tar.gz
jadl-49aa5542a8e13d2d808f7dee6bd7418add6d74ea.zip
Add primitive evaluation system
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/eval.h b/eval.h
new file mode 100644
index 0000000..0af0c87
--- /dev/null
+++ b/eval.h
@@ -0,0 +1,20 @@
1#ifndef _EVAL
2#define _EVAL
3
4#include <stddef.h>
5#include <stdio.h>
6#include <stdlib.h>
7#include <string.h>
8#include <ctype.h>
9
10#include "types.h"
11#include "memory.h"
12
13
14// HashMap *repl_env = NULL;
15
16LISP_OBJECT *eval_apply(LISP_OBJECT *lisp_list, HashMap *env);
17LISP_OBJECT *eval_prepere_args(LISP_OBJECT *lisp_list, HashMap *env);
18LISP_OBJECT *eval(LISP_OBJECT *lisp_obj, HashMap *env);
19
20#endif