Tech News
← Back to articles

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

read original related products more articles

r3forth

A Minimalist, Self-Hosted Stack Machine Environment

r3forth is a programming language and environment inspired by ColorForth and the Forth philosophy. It’s designed to be a complete, self-contained system that balances extreme minimalism with practical creative power.

R3 can load and call procedures from any dynamic library (.DLL in windows) or (.SO in linux) the distro use SDL2 library for make games.

Technical Overview

Ultra-Minimalist VM: A highly portable, lightweight core (~40kb) written in C. It’s designed for simplicity and speed, currently supporting Windows and Linux: r3evm.

A highly portable, lightweight core (~40kb) written in C. It’s designed for simplicity and speed, currently supporting Windows and Linux: r3evm. Zero Bloat Philosophy: No massive standard libraries or complex toolchains. It’s just the core VM, the stack, and your code.

No massive standard libraries or complex toolchains. It’s just the core VM, the stack, and your code. High Performance & Native Ambitions: Despite running on a VM, r3 is architected for speed. It features a self-hosted compiler (currently for Windows) written entirely in r3forth , laying the groundwork for future direct-to-metal implementations.

Despite running on a VM, r3 is architected for speed. It features a self-hosted compiler (currently for Windows) written entirely in , laying the groundwork for future direct-to-metal implementations. Rich Ecosystem: On top of this minimal core, r3 provides a powerful suite of libraries for:

On top of this minimal core, r3 provides a powerful suite of libraries for: Graphics & 2D: Sprites, tilemaps, fonts, animations, and stack-based sprites.

... continue reading