diff options
| author | Mistivia <i@mistivia.com> | 2025-12-27 01:45:03 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-12-27 01:45:03 +0800 |
| commit | 0ab2f1ed9db065dac95f8827df0ef523a8597bd9 (patch) | |
| tree | 52377c351db11317c364798c1df0a00fd44ca48a /interp.c | |
| parent | 1232e077f5273d86600cb4a4c34269310f9f2b9f (diff) | |
exts
Diffstat (limited to 'interp.c')
| -rw-r--r-- | interp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,7 @@ #include "primitives.h" #include "parser.h" #include "prelude.h" +#include "exts/exts.h" #define BUFSIZE 1024 @@ -259,6 +260,10 @@ void Interp_init(Interp *self) { Interp_add_userfunc(self, "_gcstat", builtin_gcstat); Interp_add_userfunc(self, "_alwaysgc", builtin_alwaysgc); + bamboo_lisp_ext_vector_init(self); + bamboo_lisp_ext_io_init(self); + bamboo_lisp_ext_dict_init(self); + SExpRef ret = Interp_eval_string(self, bamboo_lisp_prelude); Interp *interp = self; if (VALTYPE(ret) == kErrSignal) { |
