Trying to build a forth runtime in C
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/**
|
|
|
|
* Runtime configuration
|
|
|
|
*
|
|
|
|
* Created on 2021/11/13.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORTH_FH_CONFIG_H
|
|
|
|
#define FORTH_FH_CONFIG_H
|
|
|
|
|
|
|
|
#define CONTROL_STACK_DEPTH 1024
|
|
|
|
#define DATA_STACK_DEPTH 1024
|
|
|
|
#define RETURN_STACK_DEPTH 1024
|
|
|
|
#define MAX_NAME_LEN 32
|
|
|
|
#define DICT_SIZE 1024
|
|
|
|
#define COMPILED_BUFFER_SIZE (1024*1024)
|
|
|
|
#define HEAP_SIZE (1024*1024)
|
|
|
|
#define MAXLINE 65535
|
|
|
|
|
|
|
|
#define CELL 4
|
|
|
|
|
|
|
|
#endif //FORTH_FH_CONFIG_H
|