Files
sandbox/defs.h
Kyle Isom 6a49675314 misc/kforth: Add system status, work on vocab, better write_num.
- Now system structure includes a status variable and an associated
  function for writing the status out.
- Adding more words to the builtin dictionary.
- write_num round 3.
- Include option to not print the stack each iteration.
2018-06-05 15:40:55 -07:00

14 lines
241 B
C++

#ifndef __KF_DEFS_H__
#define __KF_DEFS_H__
#ifdef __linux__
#include "linux/defs.h"
#else
typedef int KF_INT;
typedef long KF_LONG;
constexpr uint8_t STACK_SIZE = 16;
#endif
constexpr size_t MAX_TOKEN_LENGTH = 16;
#endif // __KF_DEFS_H__