misc/kforth: Start over.

This commit is contained in:
2018-03-02 08:47:56 -08:00
parent 7c5297118a
commit a1149654d4
7 changed files with 91 additions and 0 deletions

14
default/defs.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef __KF_PLATFORM_DEFAULT_H__
#define __KF_PLATFORM_DEFAULT_H__
#include <stdint.h>
typedef int KF_INT;
typedef uintptr_t KF_ADDR;
constexpr static size_t STACK_SIZE = 48 / sizeof(KF_INT);
constexpr static size_t DICT_SIZE = 4096;
constexpr static size_t ARENA_SIZE = 256;
#endif // __KF_PLATFORM_DEFAULT_H__