aboutsummaryrefslogtreecommitdiff
path: root/src/primitives.h
blob: dfd8d2e07180c3ce71b91659f3d47eaa2bd839f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef BAMBOO_LISP_PRIMITIVIE_H_
#define BAMBOO_LISP_PRIMITIVIE_H_

#include "interp.h"

SExpRef primitive_if(Interp *interp, SExpRef sexp);
SExpRef primitive_cond(Interp *interp, SExpRef sexp);
SExpRef primitive_progn(Interp *interp, SExpRef sexp);
SExpRef primitive_setq(Interp *interp, SExpRef sexp);
SExpRef primitive_let(Interp *interp, SExpRef sexp);
SExpRef primitive_while(Interp *interp, SExpRef sexp);
SExpRef primitive_lambda(Interp *interp, SExpRef sexp);
SExpRef primitive_defun(Interp *interp, SExpRef sexp);
SExpRef primitive_defvar(Interp *interp, SExpRef sexp);
SExpRef primitive_function(Interp *interp, SExpRef sexp);

#endif