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.
sizeof(CELL) was greater than sizeof(CELL*).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 |
|
|
Number of bits in a CHAR |
|
|
Number of CHARs in a CELL |
|
|
A type representing a forth cell type. If this typedef is changed then CHARS_PER_CELL must be updated. |
|
|
A type representing a forth unsigned cell type. This mus have the same size as CELL. |
|
|
A type representing a forth char type. If this typedef is changed then BITS_PER_CHAR and CHARS_PER_CELL must be updated. |
1.4.4