Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Forth - Forth virtual machine


Detailed Description

ANS forth virtual machine.

This is a 'token threaded' implementation which contains the ANS Core words plus a few extra words from other word sets. It doesn't make use of any C library functions, and so should compile to stand-alone code suitable for embedding in other programs.

Version:
2005-12-27

2006-05-20


Modules

 Internal - Internal implementation of the forth virtual machine
 Test - Test code for forth virtual machine

Classes

class  ForthIo
 Abstract interfrace class for forth character i/o. More...
class  Forth
 Public interface to the forth virtual machine. More...

Defines

#define BITS_PER_CHAR   8
#define CHARS_PER_CELL   4

Typedefs

typedef int32_t CELL
typedef uint32_t UCELL
typedef uint8_t CHAR


Define Documentation

#define BITS_PER_CHAR   8
 

Number of bits in a CHAR

Definition at line 77 of file forth.h.

#define CHARS_PER_CELL   4
 

Number of CHARs in a CELL

Definition at line 82 of file forth.h.


Typedef Documentation

typedef int32_t CELL
 

A type representing a forth cell type. If this typedef is changed then CHARS_PER_CELL must be updated.

Definition at line 58 of file forth.h.

typedef uint32_t UCELL
 

A type representing a forth unsigned cell type. This mus have the same size as CELL.

Definition at line 66 of file forth.h.

typedef uint8_t CHAR
 

A type representing a forth char type. If this typedef is changed then BITS_PER_CHAR and CHARS_PER_CELL must be updated.

Definition at line 72 of file forth.h.


Generated by  doxygen 1.4.4