evaluate implemented

This commit is contained in:
2021-11-22 00:47:55 +01:00
parent ab1b39598c
commit d0cead3c42
9 changed files with 55 additions and 22 deletions
+2
View File
@@ -35,6 +35,8 @@ extern const struct name_and_handler fh_builtins_meta[];
extern const struct name_and_handler fh_builtins_text[];
extern const struct name_and_handler fh_builtins_system[];
enum fh_error ds_pop_addr_len(struct fh_thread_s *fh, uint32_t *addr, uint32_t *len);
enum fh_error wp_const(struct fh_thread_s *fh, const struct fh_word_s *w);
enum fh_error wp_mul(struct fh_thread_s *fh, const struct fh_word_s *w);
+2
View File
@@ -25,6 +25,8 @@ struct fh_input_spec_s {
char saved_buffer[INPUT_BUFFER_SIZE];
uint32_t saved_inputptr;
uint32_t saved_inputlen;
uint32_t saved_execptr;
enum fh_state saved_state;
};
/**
+1 -1
View File
@@ -14,8 +14,8 @@
#include "fh_config.h"
#include "fh_error.h"
#include "fh_globals.h"
#include "fh_input.h"
#include "fh_runtime.h"
#include "fh_input.h"
#include "fh_print.h"
#endif //FORTH_H
+1 -1
View File
@@ -23,8 +23,8 @@
#include "fh_helpers.h"
#include "fh_globals.h"
#include "fh_print.h"
#include "fh_input.h"
#include "fh_runtime.h"
#include "fh_input.h"
#include "fh_mem.h"
#include "fh_stack.h"
#include "fh_parse.h"