eForth1  v2.4
eForth1.h
Go to the documentation of this file.
1 #ifndef __EFORTH1_H
2 #define __EFORTH1_H
3 
4 typedef void (*CFP)();
5 
6 void vm_cfunc(int n, CFP fp);
7 void vm_push(int v);
8 int vm_pop();
9 
10 #if ARDUINO
11 #include <Arduino.h>
12 #include <time.h>
13 
14 void ef_setup(const char *code=0, Stream &io_stream=Serial);
15 void ef_run();
16 char *ef_ram(int i);
17 
18 #endif // ARDUINO
19 #endif // __EFORTH1_H
20 
vm_push
void vm_push(int v)
push value onto VM data stack
Definition: eforth_vm.cpp:192
ef_ram
char * ef_ram(int i)
expose VM RAM space to Sketch
Definition: eforth1.cpp:117
ef_run
void ef_run()
Definition: eforth1.cpp:110
code
const PROGMEM char code[]
Definition: eforth1.ino.cpp:10
vm_cfunc
void vm_cfunc(int n, CFP fp)
function pointer
Definition: eforth_vm.cpp:187
ef_setup
void ef_setup(const char *code=0, Stream &io_stream=Serial)
Definition: eforth1.cpp:100
vm_pop
int vm_pop()
pop TOS off VM data stack
Definition: eforth_vm.cpp:196
CFP
void(* CFP)()
Definition: eForth1.h:4