-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlisp_values.h
35 lines (29 loc) · 862 Bytes
/
lisp_values.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _LISP_VALUES_H_
#define _LISP_VALUES_H_
/**
* Predefined values within the lisp environment, which should be
* put into the environment during initialization
*/
// Standard headers
#include <inttypes.h>
// Project headers
#include "lisp.h"
#include "lisp_primitives.h"
// Primitive symbols and special values
extern struct s_exp *lisp_undefined;
extern struct s_exp *lisp_nil;
extern struct s_exp *lisp_true;
extern struct s_exp *lisp_false;
// Symbols for special forms
extern struct s_exp *lisp_quote;
extern struct s_exp *lisp_cond;
extern struct s_exp *lisp_define;
extern struct s_exp *lisp_lambda;
extern struct s_exp *lisp_label;
// Symbols for built-ins/primitive functions
extern struct s_exp *lisp_cons;
extern struct s_exp *lisp_car;
extern struct s_exp *lisp_cdr;
extern struct s_exp *lisp_eq;
extern struct s_exp *lisp_atom;
#endif