diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2023-03-05 23:10:15 +0100 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2023-03-05 23:10:15 +0100 |
commit | 49aa5542a8e13d2d808f7dee6bd7418add6d74ea (patch) | |
tree | d182dbf69f5f7b421283bf2a504ed3b40811a668 /eval.h | |
parent | f44f1f8c7ef7b6266667dce76db686af3258adfc (diff) | |
download | jadl-49aa5542a8e13d2d808f7dee6bd7418add6d74ea.tar.gz jadl-49aa5542a8e13d2d808f7dee6bd7418add6d74ea.zip |
Add primitive evaluation system
Diffstat (limited to 'eval.h')
-rw-r--r-- | eval.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 | |||
16 | LISP_OBJECT *eval_apply(LISP_OBJECT *lisp_list, HashMap *env); | ||
17 | LISP_OBJECT *eval_prepere_args(LISP_OBJECT *lisp_list, HashMap *env); | ||
18 | LISP_OBJECT *eval(LISP_OBJECT *lisp_obj, HashMap *env); | ||
19 | |||
20 | #endif | ||