diff options
| author | Mistivia <i@mistivia.com> | 2025-06-20 14:17:23 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-20 14:17:23 +0800 |
| commit | f09b34f95134972ecb907dbef0a697f4fcc1abaf (patch) | |
| tree | 1bf08c50ab18ad3f82912c14afa26892b5fbc293 /src/primitives.h | |
| parent | 0f01f6959c4880d8c85d195ed051f4114c8e9b14 (diff) | |
refactor; while
Diffstat (limited to 'src/primitives.h')
| -rw-r--r-- | src/primitives.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/primitives.h b/src/primitives.h new file mode 100644 index 0000000..1bfe710 --- /dev/null +++ b/src/primitives.h @@ -0,0 +1,13 @@ +#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); + +#endif |
