eForth1  v2.4
eForth1.h File Reference
#include <Arduino.h>
#include <time.h>
Include dependency graph for eForth1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* CFP) ()
 

Functions

void vm_cfunc (int n, CFP fp)
 

function pointer

More...
 
void vm_push (int v)
 push value onto VM data stack More...
 
int vm_pop ()
 pop TOS off VM data stack More...
 
void ef_setup (const char *code=0, Stream &io_stream=Serial)
 
void ef_run ()
 
char * ef_ram (int i)
 expose VM RAM space to Sketch More...
 

Typedef Documentation

◆ CFP

typedef void(* CFP) ()

Function Documentation

◆ vm_cfunc()

void vm_cfunc ( int  n,
CFP  fp 
)

function pointer

assign C interface (in slot n)

◆ vm_push()

void vm_push ( int  v)

push value onto VM data stack

proxy to VM

◆ vm_pop()

int vm_pop ( )

pop TOS off VM data stack

◆ ef_setup()

void ef_setup ( const char *  code,
Stream &  io_stream 
)

setup (called by Arduino setup)

◆ ef_run()

void ef_run ( )

VM outer interpreter proxy

◆ ef_ram()

char* ef_ram ( int  i)

expose VM RAM space to Sketch

VM RAM space