diff --git a/src/config.h b/src/config.h new file mode 100644 index 00000000..8387f4fd --- /dev/null +++ b/src/config.h @@ -0,0 +1,7 @@ +/* configurations for Picrin interpreter */ + +#define PIC_ARENA_SIZE (8 * 1024) + +#define PIC_HEAP_PAGE_SIZE (2 * 1024 * 1024) + +#define PIC_SYM_POOL_SIZE (2 * 1024) diff --git a/src/main.c b/src/main.c index 33eb7cf4..ebbef40a 100644 --- a/src/main.c +++ b/src/main.c @@ -2,6 +2,8 @@ * See Copyright Notice in picrin.h */ +#include "config.h" + #include "picrin.h" #include "picrin/pair.h" #include "picrin/error.h"