ANS forth virtual machine. More...
|
Classes | |
| class | ForthIo |
| Abstract interfrace class for forth character i/o. More... | |
| class | Forth |
| Public interface to the forth virtual machine. More... | |
Modules | |
| Internal - Internal implementation of the forth virtual machine | |
| Test - Test code for forth virtual machine | |
Defines | |
| #define | BITS_PER_CHAR 8 |
| #define | CHARS_PER_CELL 4 |
Typedefs | |
| typedef int32_t | CELL |
| typedef uint32_t | UCELL |
| typedef uint8_t | CHAR |
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.
sizeof(CELL) was greater than sizeof(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 char type. If this typedef is changed then BITS_PER_CHAR and CHARS_PER_CELL must be updated.
1.6.1