Implementation of jonesforth using C as the host system instead of x86.
- C 63.8%
- Forth 35.9%
- Makefile 0.3%
| cwords.c | Implement EXECUTE. | |
| cwords.h | A tremendous amount of work. | |
| dev.4th | Some cleanup on LAMBDA. | |
| hello.4th | Minor tweaks to hello.4th. | |
| main.c | Remove non-buffered output. | |
| main.h | Up the max system memory to 16k. | |
| Makefile | At last: make run rule. | |
| README.md | README.md | |
forth32
Implementation of jonesforth using C as the host system instead of x86.
Written for fun! And learning. And experimenting. And don't forget fun!
This project is unlikely to ever be considered "done".
Dependencies
- gcc
- make
- very likely a POSIX-compliant system that is 32-bit or higher
Build & Run
git clone https://codeberg.org/kira/forth32cd forth32make
To run as a Read-Eval-Print loop:
./main
Or you can pipe in a source code file:
./main < hello.4th