ForthOS - Metacompiler Pack
Rebuild ForthOS for any CPU architecture from within the running system.
The metacompiler compiles a complete ForthOS kernel for a new target architecture without leaving the Forth interpreter. Write a 150-line target definition file — get a bootable kernel image out.
Includes:
- `meta-compiler.fth` — Metacompiler Phase A+B complete (85 words)
- `target-x86.fth` — Self-rebuild for x86 (validated: boots, prints `7`)
- `target-arm64.fth` — ARM64 target (Raspberry Pi 3B/4/5) — in progress
- `target-riscv.fth` — RISC-V RV64 target — planned Q3 2026
Phase B4 validated: metacompiled kernel extracted via QEMU pmemsave, booted fresh, `3 4 + .` printed `7`. The system compiles itself.
Best for: Engineers targeting embedded systems, new hardware platforms,
or anyone who needs ForthOS on non-x86 iron.
Metacompiler
| Label | Base Software Feature |
|---|---|
| Self-rebuilding kernel compiler | Compilation |
| x86 target validated | Compilation |
| ARM64 target (Raspberry Pi) | Cross-platform support |
| RISC-V RV64 target | Cross-platform support |
| New architecture in ~150 lines | Code generation |
⚠️ Required after purchase: Email training@jollygeniusinc.com with your order number and GitHub username. Your repository invitation will be sent within 24 hours.
After purchase: GitHub repo invitation within 24 hours.