build
Here you will learn how the logiqub virtual machine is built. You can browse the source and download the project at the online mercurial repository.
Development tools
GNU tools are native on Unix-like operating systems (Linux distributions). For Windows, I recommend the MinGW project.
- vim editor
- as assembler
- ld linker
- gcc compiler
- gdb debugger
- SDL2 library (optional)
Notes
- To learn the vim editor, make sure you complete the vimtutor tutorial.
- Enable "set hidden" in your .vimrc. It's beyond me why the feature that makes the editor usable is disabled by default.
Virtual machine
It is often necessary to build your own Forth to understand how it works. Here is a list of material to study.
Richard Jones
Brad Rodriguez
Anton Ertl
- The Structure and Performance of Efficient Interpreters
- Threaded code
- Gforth manual
- Modern Forth standard
Stephen Pelc
Charles Curley
Life in the Fast Forth lane