aboutsummaryrefslogtreecommitdiffstats
path: root/src/bootstrap/singletons.c
blob: eb9c3973e5e9f177326f46b491e13dcab6aeb7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "environment.h"
#include "gc.h"
#include "objects.h"

// Global garbage collector singleton.
static GC gc;

// Special singleton Objects.
static Object *obj_nil;
static Object *obj_true;
static Object *obj_false;
static Object *obj_err;
static Object *obj_quote;
static Object *proc_if;

// Global environment.
static Environment *global_env;